Player not successfully spawning upon registering.
#1

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.

Reply
#2

Bump.
Reply
#3

Maybe You Need To Add SetPlayerPos(playerid, PosX, PosY, PosZ);
Reply
#4

AddPlayerClass?
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)