Tool to spawn cars - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Tool to spawn cars (
/showthread.php?tid=275137)
Tool to spawn cars -
MrDarth - 08.08.2011
Hello there,
I would like to know, is there any tool, which could be used to spawn vehicle and get vehicle location and standing direction?
Re: Tool to spawn cars -
Lenny the Cup - 08.08.2011
/dl
to spawn cars, use the filterscript "fsdebug" and type /v ingame
To load fsdebug ingame as rcon admin:
rcon loadfs fsdebug
or in server browser:
loadfs fsdebug
Re: Tool to spawn cars -
Cpt.Markus - 08.08.2011
what gamemode u have?if u have grand larceny u cant spawn vehicles there but if u have another mode such as a role play mode u can add vehicles but idk a tool but u can search one in the ****** something like
SA-MP vehicle spawn tool
Re: Tool to spawn cars -
gamer931215 - 08.08.2011
Go ingame and type
Код:
/rcon login yourrconpasswordhere
(the rcon password you have in server.cfg)
Then type
Код:
/rcon loadfs fsdebug
A message should appear that the filterscript has been loaded
Now use
to spawn vehicles (like /v rhino).
Enter the vehicle, park it where you want to spawn it and type
Now you can find a .txt file in "My Documents/GTA San Andreas User Files/SAMP/savedpositions.txt"
where you should see the pawn code to spawn the vehicle (AddStaticVehicle(positions/stuff))
Paste the line on the OnGameModeInit() section in your gamemode and it will spawn there!
Re: Tool to spawn cars -
MrDarth - 08.08.2011
Thanks.
@Cpt.Markus, I'm scripting my own cops and robbers gamemode.
Re: Tool to spawn cars -
Cpt.Markus - 09.08.2011
nice man i cant wait to host it
Re: Tool to spawn cars -
MrDarth - 09.08.2011
Quote:
Originally Posted by Cpt.Markus
nice man i cant wait to host it 
|
Nice joke.

Well, I'm making it because I like Cops and Robbers gamemode and it's a good way to start learning pawn and about sa-mp server side by making gamemode from scratch. :P