SA-MP Forums Archive
Camera player - 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: Camera player (/showthread.php?tid=458848)



Camera player - Gabyyy - 18.08.2013

Hi. I make a Login & Register System on y_ini but I have a problem.I enter to my server, i register new account but until spawn me appear a message to relog for save player's data and camera looks like pic and can i move the character.. :





Here is my system : http://pastebin.com/03gvwX8K

What is wrong? Thank you!


Re: Camera player - zaider - 18.08.2013

Well, you basically need to relog because your script requires you to do so.


Re: Camera player - Gabyyy - 18.08.2013

Quote:
Originally Posted by zaider
Посмотреть сообщение
Well, you basically need to relog because your script requires you to do so.
And there is no way to not do this? To spawn without relog.. ?


Re : Camera player - Matnix - 18.08.2013

Just remove these line :

pawn Код:
SetSpawnInfo(playerid, 0, 0, 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0); // this one
SpawnPlayer(playerid); // this one
ShowPlayerDialog(playerid, DIALOG_SUCCESS_1, DIALOG_STYLE_MSGBOX,""COL_WHITE"Success!",""COL_GREEN"REGISTERED CONGRATZ.","Ok",""); // Use SendClientMessage