Stay within the world boundaries bug
#1

I get a textbox saying "Stay within the world boundaries", whenever I press on "spawn".
My player is gplayerlogged and I get this weird textbox.

This is the code before people can press spawn:

Quote:

RegistrationStep[playerid] = 0;
TogglePlayerControllable(playerid,1);
PlayerInfo[playerid][pRegistered] = 1;
gPlayerLogged[playerid] = 1;
return 1;
}

Quote:

public OnPlayerRequestSpawn(playerid)
{
if(gPlayerLogged[playerid] == 1)
{
return 1;
}
else
{
if(SpawnAttempts[playerid] >= MAX_SPAWN_ATTEMPTS)
{
KickPlayer(playerid,"System","Repeated attempts to spawn without logging in.");
return 1;
}
SendClientMessage(playerid,COLOR_RED,"[INFO:] You must login before you can spawn!");
SpawnAttempts[playerid] ++;
return 0;
}
}

That is onplayerrequestspawn ofc.


Any idea?
Reply


Messages In This Thread
Stay within the world boundaries bug - by Ice-cup - 07.01.2011, 21:00
Re: Stay within the world boundaries bug - by Ash. - 07.01.2011, 21:07
Re: Stay within the world boundaries bug - by Ice-cup - 07.01.2011, 21:09
Re: Stay within the world boundaries bug - by Ash. - 07.01.2011, 21:22
Re: Stay within the world boundaries bug - by Ice-cup - 07.01.2011, 21:24
Re: Stay within the world boundaries bug - by Ash. - 07.01.2011, 21:27
Re: Stay within the world boundaries bug - by Ice-cup - 07.01.2011, 21:31
Re: Stay within the world boundaries bug - by Ice-cup - 08.01.2011, 08:12
Re: Stay within the world boundaries bug - by Lorenc_ - 08.01.2011, 08:14
Re: Stay within the world boundaries bug - by Ice-cup - 08.01.2011, 12:08
Re: Stay within the world boundaries bug - by Kwarde - 08.01.2011, 12:31
Re: Stay within the world boundaries bug - by Ice-cup - 08.01.2011, 14:20
Re: Stay within the world boundaries bug - by Kwarde - 08.01.2011, 15:06

Forum Jump:


Users browsing this thread: 3 Guest(s)