SA-MP Forums Archive
YSI Login System Won't Let Me Spawn - 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: YSI Login System Won't Let Me Spawn (/showthread.php?tid=454503)



YSI Login System Won't Let Me Spawn - ronbobman - 29.07.2013

Okay, so I got the y_ini login system to work, but the issue I'm having is when I try to log back in, it just says ''Stay Within The World Boundaries'' Which I'm sure you've all seen before. One I initially registered it allowed me to spawn and move around, but not anymore.

Any help is greatly appreciated.


Re: YSI Login System Won't Let Me Spawn - RALL0 - 29.07.2013

You must have atleast one SetSpawnInfo under ongamemodeinit


Re: YSI Login System Won't Let Me Spawn - dEcooR - 29.07.2013

onplayerspawn -->
SetPlayerVirtualWorld(playerid,0);
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,x,y,z);


Re: YSI Login System Won't Let Me Spawn - ronbobman - 29.07.2013

I'm not 100% sure what you mean, I've got it to work so that I can spawn, but I just fall through the ground near BlueBerry farm and it happens with a whole bunch of different coordinates. If you know of any scripts that spawn you at LS with coordinates and all that you could link me to, that would be helpful.


Re: YSI Login System Won't Let Me Spawn - zT KiNgKoNg - 29.07.2013

If you're trying to load a Float of a players last X,Y,Z you need to put their xyz in on player request class, It always works for me.


Re: YSI Login System Won't Let Me Spawn - RALL0 - 29.07.2013

These are the coordinates for infront of the LSPD 1529.6,-1691.2,13.3 you can also /save your onfoot position and find the coordinates in the samp directory.