Using another PAWN file to spawn Vehicles. - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Using another PAWN file to spawn Vehicles. (
/showthread.php?tid=259151)
Using another PAWN file to spawn Vehicles. -
Converted - 03.06.2011
In the game I'm currently making I want to spawn a large number of vehicles, in total about 700 lines of AddStaticVehicle. To reduce the size of the main script, I want to place those lines in another Pawn file, and then load them into the main script. Is this possible? And if it is, how do I do it?
Re: Using another PAWN file to spawn Vehicles. -
Converted - 03.06.2011
I think Grand Larceny uses something similar to this..
Re: Using another PAWN file to spawn Vehicles. -
Converted - 03.06.2011
Many thanks. I never knew it would be that simple.