Help with objects
#2

Make sure you have zcmd include: You can use this command to give yourself a jetpack (you also need to RCON login).
PHP Code:
CMD:jetpack(playeridparams[])
    {
        if(
IsPlayerAdmin(playerid))
        
SendClientMessage(playerid, -1"You have given yourself a jetpack!");
        
SetPlayerSpecialAction(playeridSPECIAL_ACTION_USEJETPACK);
        return 
1;
        
SendClientMessage(playerid, -1"You aren't authorized to use this command!");
        return 
1;

If you want to create a icon with jetpack you need to check the IsPlayerInRangeOfPoint and add the X,Y,Z location where you want your jetpack to be located and with command you can able to give yourself a jetpack.
Reply


Messages In This Thread
Help with objects - by albaniaa - 01.12.2018, 14:56
Re: Help with objects - by Alex Magaсa - 01.12.2018, 17:43
Re: Help with objects - by cuber - 01.12.2018, 23:54
Re: Help with objects - by Alex Magaсa - 02.12.2018, 10:34

Forum Jump:


Users browsing this thread: 1 Guest(s)