PDA

View Full Version : Player not successfully spawning upon registering.


rangerxxll
17/04/2014, 09:28 PM
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?


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.

http://puu.sh/8cIRw.png

rangerxxll
18/04/2014, 08:39 PM
Bump.

Youssef214
18/04/2014, 08:41 PM
Maybe You Need To Add SetPlayerPos(playerid, PosX, PosY, PosZ);

PrivatioBoni
18/04/2014, 08:44 PM
AddPlayerClass?