SA-MP Forums Archive
Spawn Help - 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: Spawn Help (/showthread.php?tid=379828)



Spawn Help - JamieVic - 23.09.2012

When I join my server and walk to another spot, close the client and re-join it, I spawn at the main spawn point instead of the spot I logged off at. If it helps, I'm currently using the New Generation RP gamemode and using filterscripts: gl_actions gl_property gl_realtime gl_mapicon ls_elevator test_cmds ls_mall attachments rconloginattempt isplayeradmin

What's the issue?


Re: Spawn Help - JhnzRep - 23.09.2012

Can you show us OnPlayerDisconnect code please?

EDIT:OnPlayerSpawn too please.


Re: Spawn Help - JamieVic - 23.09.2012

These are both taken from the gamemode file.

OnPlayerDisconnect - http://pastebin.com/JGfWPk1k

OnPlayerSpawn - http://pastebin.com/R5M3RXZh


Re: Spawn Help - JamieVic - 23.09.2012

@JhnzRep

Whenever you come back, can you help me out?


Re: Spawn Help - Riddy - 23.09.2012

Your script is not set to spawn you back at your last position


Re: Spawn Help - JamieVic - 23.09.2012

How do I change that to make me spawn at my last location?

Do I need to change this to 0?

pSpawned[playerid] = 1;


Re: Spawn Help - JamieVic - 24.09.2012

Bumping this because I really need help with this.


Re: Spawn Help - trapstar2020 - 24.09.2012

ummmm check the where the files the files are being saved and see if it has a save position thing

if not there iz a tut on it ****** iz ur friend