12.06.2016, 21:14
This command works on my previous gamemode, but it's not working on new gamemode
PHP код:
CMD:jetpack(playerid, params[]) {
if(AdminDuty[playerid] != 1)
{
SendClientMessage(playerid, 0x04C4D9AA, "|- Devi essere Aduty per porter utilizzare i comandi admin -|");
return 1;
}
else if(AdminDuty[playerid] != 0) {
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USEJETPACK);
}
if(GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_USEJETPACK) {
ClearAnimations(playerid);
}
return 1;
}