SA-MP Forums Archive
How to get the spawn point? (spawn_X , Y, Z) - 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 get the spawn point? (spawn_X , Y, Z) (/showthread.php?tid=111257)



How to get the spawn point? (spawn_X , Y, Z) - SkiesOFF - 30.11.2009

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.


Re: How to get the spawn point? (spawn_X , Y, Z) - Doppeyy - 30.11.2009

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


Re: How to get the spawn point? (spawn_X , Y, Z) - patchkinson - 30.11.2009

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


Re: How to get the spawn point? (spawn_X , Y, Z) - Correlli - 30.11.2009

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


Re: How to get the spawn point? (spawn_X , Y, Z) - radhakr - 30.11.2009

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.


Re: How to get the spawn point? (spawn_X , Y, Z) - chaosnz - 30.11.2009

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.


Re: How to get the spawn point? (spawn_X , Y, Z) - Diablosrouge - 30.11.2009

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"


Re: How to get the spawn point? (spawn_X , Y, Z) - SkiesOFF - 01.12.2009

thanks to all


Re: How to get the spawn point? (spawn_X , Y, Z) - Agnur - 01.12.2009

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.


Re: How to get the spawn point? (spawn_X , Y, Z) - Doppeyy - 01.12.2009

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