21.11.2017, 17:52
I have seen then that I should be done so
PHP код:
CMD:tankovat(playerid,params[])
{
new string[128];
if(PlayerInfo[playerid][Admin] < 2) return SendClientMessage(playerid,-1,"{FF0000}[ADMIN] {FFFFFF}Nemas AdminLevel 2");
format(string,sizeof(string),"Administrator %s all vehicle fuel",PlayerName(playerid));
SendClientMessageToAll(-1,string);
for(new i; i < MAX_VEHICLES;i++)
{
Benzin[i] = 100;
}
return 1;
}