SA-MP Forums Archive
Help me please - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help me please (/showthread.php?tid=473208)



Help me please - kingcrome - 01.11.2013

How to make a vehicle de spawn after some time? e.g 10 min
Also i want to make a car spawn where the player is. I know its like getplayerpos and then something like createvehicle
But i dont know what order it goes in.


Re: Help me please - SilentSoul - 01.11.2013

https://sampwiki.blast.hk/wiki/CreateVehicle
Have a look there
pawn Код:
CreateVehicle(520, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1, respawn timer);//Change respawn timer to your time.



Re: Help me please - Tagathron - 01.11.2013

Try this one,if that's what you think :
Код:
AddStaticVehicleEx(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2, respawn_delay);
EDIT:Or the one that SilentSoul posted.
You can view the differences at the link.


Re: Help me please - kingcrome - 01.11.2013

Thank you very much