#9

Quote:
Originally Posted by Lucases
Посмотреть сообщение
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 
iMAX_VEHICLES;i++)
    {
          If(
IsValidVehicle(vehicleid)) Benzin[i] = 100;
    }
    return 
1;


Код HTML:
for(new i; i < MAX_VEHICLES;i++)
{
        If(IsValidVehicle(vehicleid)) Benzin[i] = 100;
}
It estimates the error because the vehicleid did not find it
Reply


Messages In This Thread
Fuel - by Mivco - 21.11.2017, 07:11
Re: Fuel - by Ritzy2K - 21.11.2017, 09:22
Re: Fuel - by Mivco - 21.11.2017, 09:49
Re: Fuel - by L97 - 21.11.2017, 13:33
Re: Fuel - by Mivco - 21.11.2017, 14:22
Re: Fuel - by L97 - 21.11.2017, 14:31
Re: Fuel - by Mivco - 21.11.2017, 17:52
Re: Fuel - by Lucases - 21.11.2017, 20:31
Re: Fuel - by Mivco - 22.11.2017, 08:10
Re: Fuel - by frouzen - 23.11.2017, 16:54

Forum Jump:


Users browsing this thread: 1 Guest(s)