Thread: Fuel
View Single Post
Old 21/11/2017, 10:49 AM   #3
Mivco
Big Clucker
 
Mivco's Avatar
 
Join Date: Mar 2015
Location: Slovakia
Posts: 60
Reputation: 0
Default Re: Fuel

Quote:
Originally Posted by Ritzy View Post
Can you just post the code required? I'm not going through all that especially since it's not english
Fuel = Benzin

PHP Code:
for(new xxMAX_VEHICLES;x++)
{
     
Benzin[x] = random(100); 

command:
PHP Code:
CMD:tankovat(playerid,params[]) 

    new 
string[128]; 
    
Benzin[playerid] = random(100); 
    
//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); 
    return 
1


After entering the command, the vehicle will not be dumped
Mivco is offline   Reply With Quote