SA-MP Forums Archive
Spawning script. - 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: Spawning script. (/showthread.php?tid=494041)



Spawning script. - GamemodeRP123 - 11.02.2014

Hi IM JAZZ im editing a gamemode, which i find very interesting and im working hard on it.
Just i cant put a right spawn place, (when people will realease from prison.)
and i need your help for that.
Please help me.

1+rep for all who helps me and thanks.


Re: Spawning script. - FrakyX - 11.02.2014

Try saving the pos through debug and then putting the x,y.z in ur gamemode


Re: Spawning script. - GamemodeRP123 - 12.02.2014

hmm can you give me plus+ info, as i cant get it right and "debug" where can i find this?


Re: Spawning script. - marwanalramahi - 12.02.2014

Post the spawn code after releasing from jail.


Re: Spawning script. - iGetty - 12.02.2014

If you want to change the position, use "/save" in game where you want the location to be.

Then, go into the following: My Documents > GTA San Andreas User Files > SAMP > savedpositions.txt

It will show as AddPlayerClass();

Rip the co-ordinates from this line, and look in your script for the release position (CTRL + F) then replace them.

Compile your script, test and it should be fine.