01.12.2018, 17:43
(
Last edited by Alex Magaсa; 02/12/2018 at 10:38 AM.
)
Make sure you have zcmd include: You can use this command to give yourself a jetpack (you also need to RCON login).
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.
PHP Code:
CMD:jetpack(playerid, params[])
{
if(IsPlayerAdmin(playerid))
SendClientMessage(playerid, -1, "You have given yourself a jetpack!");
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USEJETPACK);
return 1;
SendClientMessage(playerid, -1, "You aren't authorized to use this command!");
return 1;
}