How to get the spawn point? (spawn_X , Y, Z)
#1

Hello all,

Sorry for this question, i'm noob at SA-MP.

I want to add more spawn points for people and cars. i know the AddStaticVehicle but i don't know how to get the

Floatpawn_X The X-coordinate for the vehicle.

Floatpawn_Y The Y-coordinate for the vehicle.

Floatpawn_Z The Z-coordinate for the vehicle.

Is there a FS or any commands, etc?

thanks so much.
Reply
#2

Sorry to say it like this but...
If you dont even know that please dont script.
Thats the easyiest thing to do in samp.

/Artix
Reply
#3

Quote:
Originally Posted by ◄[DirtyDutch
αятιχ► ]
Sorry to say it like this but...
If you dont even know that please dont script.
Thats the easyiest thing to do in samp.

/Artix
for god sake lol
everyone needs to learn
you didnt know that before someone taught you, or the internet taught you
go to www.wiki.sa-mp.com and read those tutorials fellow scripter
Reply
#4

There is a default SA:MP /save command to get the coords.
Reply
#5

This will explain what to do fully: https://sampwiki.blast.hk/wiki/Debug_Guide

You don't have to be in Debug Mode to use the /save command however.
Reply
#6

Quote:
Originally Posted by radhakr
This will explain what to do fully: https://sampwiki.blast.hk/wiki/Debug_Guide

You don't have to be in Debug Mode to use the /save command however.
Yeah, the /save command is very usefull except the only difference is with 0.3 it doesnt show a message letting you know you have saved the co-ordinates. If your using vista, you might need to create a text file called SavedPositions. For some reason, i had create it myself.

Good luck with your scripting.
Reply
#7

Just type /save while on foot.
And if you want to place a car on a specific place, enter the car you desire and type /save at the place you want.
These coords will be saved on your GTA San Andreas folder, on the file "savedposition.txt"
Reply
#8

thanks to all
Reply
#9

Quote:
Originally Posted by ◄[DirtyDutch
αятιχ► ]
Sorry to say it like this but...
If you dont even know that please dont script.
Thats the easyiest thing to do in samp.

/Artix
For the same trouble you wrote that, you could have just told him about the /save command.
I guess you knew it all as soon as you were born.
Reply
#10

I looked at some sites an tut's first before i really started making scripts.
I didnt know it since i was born but i know i hate lazy people since i was born.
And 98% of the new scripters ask us before looking or searching themselfs.

/Artix
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)