Auto Vehicle Repair
#6

Quote:
Originally Posted by [MM]RoXoR[FS]
Посмотреть сообщение
pawn Код:
public OnPlayerSpawn(playerid)
{
    SetTimerEx("VRepair",500,true,"i",playerid);
    return 1;
}

forward VRepair(playerid);
public VRepair(playerid)
{
    if(IsPlayerInAnyVehicle(playerid))
        RepairVehicle(GetPlayerVehicleID(playerid));
    return 1;
}
how about OnplayerExitVehicle? do i need to kill the timer?? thanks to your reply.
Reply


Messages In This Thread
Auto Vehicle Repair - by kbalor - 21.06.2012, 09:26
Re: Auto Vehicle Repair - by Zerberus - 21.06.2012, 09:32
Re: Auto Vehicle Repair - by [MM]RoXoR[FS] - 21.06.2012, 09:36
Re: Auto Vehicle Repair - by Skaizo - 21.06.2012, 09:36
Re: Auto Vehicle Repair - by [MM]RoXoR[FS] - 21.06.2012, 09:38
Re: Auto Vehicle Repair - by kbalor - 21.06.2012, 09:40
Re: Auto Vehicle Repair - by Zerberus - 21.06.2012, 09:41
Re: Auto Vehicle Repair - by kbalor - 21.06.2012, 09:42
Re: Auto Vehicle Repair - by [MM]RoXoR[FS] - 21.06.2012, 09:49

Forum Jump:


Users browsing this thread: 2 Guest(s)