Jump to content

Recommended Posts

Posted

Hello,

i try to use native-Commands e.g. FREEZE_ENTITY_POSITION (0x428CA6DBD1094446).

I doesn't work.

Code:

mp.game.invoke("0x428CA6DBD1094446"mp.players.localtrue);

Do I have to write extra code to make it possible these native-Commands?

I use RageMP 1.1

Can help me somebody?

 

Posted (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.handletrue);

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 by iHamsel

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...