Tool to spawn cars
#1

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?
Reply
#2

/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
Reply
#3

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
Reply
#4

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
Код:
/v vehiclenamehere
to spawn vehicles (like /v rhino).

Enter the vehicle, park it where you want to spawn it and type
Код:
/save
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!
Reply
#5

Thanks.

@Cpt.Markus, I'm scripting my own cops and robbers gamemode.
Reply
#6

nice man i cant wait to host it
Reply
#7

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)