[Tutorial] Simple Auto-Repair
#8

Quote:
Originally Posted by Jagofr
Посмотреть сообщение
pawn Код:
#include <a_samp>
forward Rep(playerid,vehicleid);
public OnGameModeInit()
{
       SetTimer("Rep",1000,true);
}
public Rep(playerid,vehicleid)
{
    vehicleid = GetPlayerVehicleID(playerid);
    RepairVehicle(vehicleid);
}
.... It works 100%
No it doesn't! Your code is invalid.
Quote:
Originally Posted by CookieJar
Посмотреть сообщение
Which (recording to the documentation) doesn't exist.
It's OnVehicleDamageStatusUpdate.
Reply


Messages In This Thread
Simple Auto-Repair - by Jagofr - 01.03.2012, 01:57
Re: Simple Auto-Repair - by Deathlane - 01.03.2012, 09:55
Re: Simple Auto-Repair - by T0pAz - 01.03.2012, 10:10
Re: Simple Auto-Repair - by NeTuddMeg - 01.03.2012, 10:13
Re: Simple Auto-Repair - by Jagofr - 04.03.2012, 18:22
Re : Simple Auto-Repair - by mehdi-jumper - 06.03.2012, 12:07
Re: Re : Simple Auto-Repair - by Max_Coldheart - 06.03.2012, 15:32
Re: Re : Simple Auto-Repair - by wups - 06.03.2012, 15:51
Re : Simple Auto-Repair - by mehdi-jumper - 06.03.2012, 17:04
Re: Simple Auto-Repair - by Jagofr - 10.03.2012, 01:52

Forum Jump:


Users browsing this thread: 2 Guest(s)