Destroycars
#1

How to destroycars With Type "CreateVehicleEx" When the player exit from vehicle "Iv many cars spawned in server",
I tried this code
Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
SetTimerEx("delcar", 15000, 0, "i", vehicleid);
return 1;
}

forward delcar(vehicleid);
public delcar(vehicleid)
{
SetVehicleToRespawn(vehicleid);
return 1;
}
but its destroy the car even if u r in vehicle or press CTRL while you are in vehicle!
Reply


Messages In This Thread
Destroycars - by MahdiGames - 10.01.2014, 13:09
Re: Destroycars - by newbie scripter - 10.01.2014, 13:17
Re: Destroycars - by MahdiGames - 10.01.2014, 13:21
Re: Destroycars - by amirab - 10.01.2014, 13:52
Re: Destroycars - by MahdiGames - 10.01.2014, 14:22

Forum Jump:


Users browsing this thread: 1 Guest(s)