How do I make it wait for 3 seconds?
#6

Quote:
Originally Posted by Jstylezzz
Посмотреть сообщение
pawn Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
    SetTimerEx("RespawnCar",3000,0,"i",vehicleid);// Set a 3 second timer
    return 1;
}
forward RespawnCar(vehicleid);
public RespawnCar(vehicleid)
{
    SetVehicleToRespawn(vehicleid);
    return 1;
}
EDIT: Konstantinos beat me to it ;P
Thank you both! I think I'm getting there.
Reply


Messages In This Thread
How do I make it wait for 3 seconds? - by ExtendedCarbon - 08.09.2013, 14:21
Re: How do I make it wait for 3 seconds? - by Don_Cage - 08.09.2013, 14:26
Re: How do I make it wait for 3 seconds? - by ExtendedCarbon - 08.09.2013, 14:27
Re: How do I make it wait for 3 seconds? - by Konstantinos - 08.09.2013, 14:33
Re: How do I make it wait for 3 seconds? - by Jstylezzz - 08.09.2013, 14:35
Re: How do I make it wait for 3 seconds? - by ExtendedCarbon - 08.09.2013, 14:38
Re: How do I make it wait for 3 seconds? - by doreto - 08.09.2013, 14:49

Forum Jump:


Users browsing this thread: 1 Guest(s)