Thread: Fuel
View Single Post
Old 23/11/2017, 04:54 PM   #10
frouzen
Little Clucker
 
frouzen's Avatar
 
Join Date: Mar 2014
Location: Macedonia
Posts: 21
Reputation: 4
Default Re: Fuel

PHP Code:
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 
iMAX_VEHICLES;i++) 
    { 
          If(
IsValidVehicle(i)) Benzin[i] = 100
    } 
    return 
1

frouzen is offline   Reply With Quote