Player not successfully spawning upon registering. - 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: Player not successfully spawning upon registering. (
/showthread.php?tid=507483)
Player not successfully spawning upon registering. -
rangerxxll - 17.04.2014
I'm not too sure why the player wont spawn after registering a new account. I've attempted to modify it at least 20 times, I swear. Can anyone locate the issue?
pawn Код:
SetSpawnInfo(playerid, NO_TEAM, 120, -225.9937,-12.0296,3.3797, 253.5430, 0, 0, 0, 0, 0, 0);
SpawnPlayer(playerid);
SCM(playerid, COLOR_WHITE, "{00A4D6}Student: {FFFFFF}You look new here. Why dont you head into the office and register at the front desk?");
SCM(playerid,COLOR_GREEN, string);
SetPlayerPos(playerid, -225.9937,-12.0296,3.3797);
SetPlayerFacingAngle(playerid, 253.5430);
SetCameraBehindPlayer(playerid);
this happens when the player presses register with a valid password, minus all the ini writing.
Re: Player not successfully spawning upon registering. -
rangerxxll - 18.04.2014
Bump.
Re: Player not successfully spawning upon registering. -
Youssef214 - 18.04.2014
Maybe You Need To Add SetPlayerPos(playerid, PosX, PosY, PosZ);
Re: Player not successfully spawning upon registering. -
PrivatioBoni - 18.04.2014
AddPlayerClass?