Anti vehicle respawn: Is this possible?
#4

pawn Код:
public OnVehicleDeath(vehicleid, killerid)
{
    SetTimerEx("ResetCar", 5000, 0,"d", vehicleid); // We make this, that the vehicle will explode before getting deleted.
    return 1;
}
At bottom of your script:

pawn Код:
forward ResetCar(vehicleid);
public ResetCar(vehicleid)
{
    DestroyVehicle(vehicleid);
    return 1;
}
Its untested, but it should work, if i didnt made any stupid mistakes.

Greetz.
Reply


Messages In This Thread
Anti vehicle respawn: Is this possible? - by Jochemd - 19.04.2010, 16:53
Re: Anti vehicle respawn: Is this possible? - by Jeffry - 19.04.2010, 16:56
Re: Anti vehicle respawn: Is this possible? - by Jochemd - 19.04.2010, 16:57
Re: Anti vehicle respawn: Is this possible? - by Jeffry - 19.04.2010, 17:00
Re: Anti vehicle respawn: Is this possible? - by Jochemd - 19.04.2010, 17:02
Re: Anti vehicle respawn: Is this possible? - by Jeffry - 19.04.2010, 17:03
Re: Anti vehicle respawn: Is this possible? - by Jochemd - 19.04.2010, 17:06
Re: Anti vehicle respawn: Is this possible? - by Jeffry - 19.04.2010, 17:34
Re: Anti vehicle respawn: Is this possible? - by Jeffry - 20.04.2010, 12:19
Re: Anti vehicle respawn: Is this possible? - by Jay_ - 20.04.2010, 12:39

Forum Jump:


Users browsing this thread: 5 Guest(s)