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

No, it's not!

pawn Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
    SetTimerEx("OnPlayerVehicleRespawn", 3000, false, "i", vehicleid);
    return 1;
}

forward OnPlayerVehicleRespawn(vehicleid);
public OnPlayerVehicleRespawn(vehicleid)
{
    SetVehicleToRespawn(vehicleid);
}
You used a for loop to respawn all the vehicles everytime a player exits the vehicle. It'd be better to respawn the one they exited after 3 seconds. The rest will be respawned by the respawn delay.
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)