iHamsel 0 Posted February 4 Share Posted February 4 Hello, i try to use native-Commands e.g. FREEZE_ENTITY_POSITION (0x428CA6DBD1094446). I doesn't work. Code: mp.game.invoke("0x428CA6DBD1094446", mp.players.local, true); Do I have to write extra code to make it possible these native-Commands? I use RageMP 1.1 Can help me somebody? Link to post Share on other sites
MrPancakers 152 Posted February 5 Share Posted February 5 Extra code isn't needed to use natives no Also why not use the API? https://wiki.rage.mp/index.php?title=Entity::freezePosition Link to post Share on other sites
iHamsel 0 Posted February 5 Author Share Posted February 5 (edited) I chose the freeze-command as a example. I know that it's included in the API. It worked now. mp.game.invoke("0x428CA6DBD1094446", mp.players.local.handle, true); I want to use native-commands also server-side. Is this possible? For example this doesnt work: [Command("test")] public void CMD_test(Player player) { NAPI.Native.SendNativeToPlayer(player, 0x428CA6DBD1094446, player.Handle, true); } Any hints whats wrong with this? Hash must be correct (is the same as above). When I change it to an incorrect Hash, a error message displays => native command must be executed, but not correctly. Or is this impossible? Edited February 5 by iHamsel Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now