Checking if someone is loged in before they spawn
#2

I've tried this.. and it still allows me to spawn when not logged in.
pawn Код:
public OnPlayerRequestSpawn(playerid)
{
    if (PInfo[playerid][Regged] == 1 && PInfo[playerid][Logged] == 0) return SendClientMessage(playerid,RED,"SERVER: You must login before you spawn!");
    else
    return 1;
}
Reply


Messages In This Thread
Checking if someone is loged in before they spawn - by Damienr95 - 11.08.2012, 23:12
Re: Checking if someone is loged in before they spawn - by Damienr95 - 11.08.2012, 23:25
Re: Checking if someone is loged in before they spawn - by Jefff - 11.08.2012, 23:31
Re: Checking if someone is loged in before they spawn - by Damienr95 - 11.08.2012, 23:38

Forum Jump:


Users browsing this thread: 1 Guest(s)