20.06.2012, 21:31
Here dude
pawn Код:
new car= GetPlayerVehicleID(playerid); // top of gm, DON'T PUT THAT INSIDE ONPLAYERUPDATE !
public OnPlayerUpdate(playerid)
{
if(IsPlayerInAnyVehicle(playerid))
{
RepairVehicle(car);
}
}