Spawning all cars as locked
#3

Quote:
Originally Posted by SuperViper
Посмотреть сообщение
OnVehicleSpawn is misleading. It's only called when the vehicle REspawns. If you want the OnVehicleCreate function, you could use the include I made for that and a lot of other functions: https://sampforum.blast.hk/showthread.php?tid=348044.

Usage:

pawn Код:
public OnVehicleCreate(vehicleid)
{
    // your code here
    return 1;
}
Also, you shouldn't delete the code in OnVehicleSpawn because that'll make it lock when it respawns aswell.
Thank you so much, I'll try that.

Edit: It worked! Thanks again!
Reply


Messages In This Thread
Spawning all cars as locked - by Calabresi - 23.06.2012, 17:13
Re: Spawning all cars as locked - by SuperViper - 23.06.2012, 18:02
Re: Spawning all cars as locked - by Calabresi - 24.06.2012, 09:21

Forum Jump:


Users browsing this thread: 1 Guest(s)