How to Delete Vehicle spawns - 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: How to Delete Vehicle spawns (
/showthread.php?tid=429313)
How to Delete Vehicle spawns -
Murderface - 09.04.2013
Hey guys, So I'm using the Land of Paradise Gamemode, and their are just cars spawned everywhere, randomly, I'm wondering how i can delete them, and spawn them in places i want? cheers
Re: How to Delete Vehicle spawns -
DobbysGamertag - 09.04.2013
its usually in
pawn Код:
public OnGameModeInit
AddStaticVehicle blablabla
ignore the blabla bit. There is usually: carid,x,y,z,color1,color2,respawntime
if you know the car id just hit CTRL F and search for the ID

like i said, OnGameModeInit
Re: How to Delete Vehicle spawns -
15outland - 09.04.2013
very helpful
Re: How to Delete Vehicle spawns -
CJay9209 - 09.04.2013
Quote:
Originally Posted by DobbysGamertag
its usually in
pawn Код:
public OnGameModeInit
AddStaticVehicle blablabla
ignore the blabla bit. There is usually: carid,x,y,z,color1,color2,respawntime
if you know the car id just hit CTRL F and search for the ID  like i said, OnGameModeInit
|
thats not the case in this GM - I wrote the entire vehicle system for this GM and the vehicles are loaded from files using createvehicle. you DO NOT edit the vehicles from the pwn code. u need to delete the perm vehicle save file and edit the vehicle load file to reflect the vehicle spawns that you want to use. When you restart the server after that it will load up the new vehicle spawns. It's highly unadvised to add vehicles to this GM without using the loader that i designed as it will mess up the system.