25.08.2010, 13:57
Hi,
If a player a JetPack Uses, and then presses a button so that it goes away. Next he hears the jetpack without which he has one.
Hope you understand me ^ ^
If a player a JetPack Uses, and then presses a button so that it goes away. Next he hears the jetpack without which he has one.
Hope you understand me ^ ^
Code:
if(GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_USEJETPACK)
{
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_NONE);
return 1;
} else {
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USEJETPACK);
return 1;
}

