RepairVehicle doesn't work
#3

It dosent work like that,
In the future check the wiki = https://sampwiki.blast.hk/wiki/RepairVehicle

pawn Код:
if(strcmp(cmd, "/fixveh", true) == 0)
    {
      if(IsPlayerConnected(playerid))
      {
       
            if(PlayerInfo[playerid][pAdmin] >= 1)
            {
                if(IsPlayerInAnyVehicle(playerid))
                {
                  SetVehicleHealth(GetPlayerVehicleID(playerid), 1000.0);
                  RepairVehicle(GetPlayerVehicleID(playerid));
                }
                return 1;
            }
        }
        return 1;
    }
Reply


Messages In This Thread
RepairVehicle doesn't work - by Stas92 - 25.02.2010, 13:45
Re: RepairVehicle doesn't work - by Correlli - 25.02.2010, 13:46
Re: RepairVehicle doesn't work - by Torran - 25.02.2010, 13:46
Re: RepairVehicle doesn't work - by silvan - 25.02.2010, 13:47
Re: RepairVehicle doesn't work - by CracK - 25.02.2010, 13:47
Re: RepairVehicle doesn't work - by BlackFoX - 25.02.2010, 13:47
Re: RepairVehicle doesn't work - by Stas92 - 25.02.2010, 13:50

Forum Jump:


Users browsing this thread: 1 Guest(s)