if(GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_USEJETPACK) //will check if player is using Jetpack
{
if(JetPack == 0) //if global variable JetPack is 0
{
new string,name;
GetPlayerName(playerid,name,sizeof(name));
format(string,sizeof(string),"LG: %s mozebi koristi Jetpack Hack proverete go.",name);
SendClientMessageToAll(COLOR_GREEN,string);
}
else //if global variable JetPack is 1
return 1; //will return 1;
}
else JetPack = 0; //if player leaves the JetPack using Enter/F it will set the Global Variable JetPack to 0 again to avoid the problem in our command /jetpackDetaljan opis problema:Kad igrac uzme jetpack ispisuje mi tekst svaku sekundu kako da uradim da mi ispisuje samo jednom ?
Dio skripte://
Neke slike/video za lakse dobivanje pomoci(neobavezno)://
