OnPlayerRequestSpawn
#1

Hi,i've a trouble:

Код:
public OnPlayerRequestSpawn(playerid)
{
    if(IsLogged[playerid] == 1)
   {
		return 1;
		}
		else ForceClassSelection(playerid);
        return SendClientMessage(playerid, COLOR_YELLOW, "ERROR: You can't spawn,maybe you arent registered or logged in.Use /register or /login");
 }
This is the code given to me in my another topic,i've edited a bit.

Now the problem is:

If im not logged in but i can spawn anyway,wtf?
Reply


Messages In This Thread
OnPlayerRequestSpawn - by Face9000 - 18.12.2010, 17:16
Re: OnPlayerRequestSpawn - by Benjo - 18.12.2010, 17:47
Re: OnPlayerRequestSpawn - by Face9000 - 18.12.2010, 17:58
Re: OnPlayerRequestSpawn - by Mean - 18.12.2010, 18:00
Re: OnPlayerRequestSpawn - by Benjo - 18.12.2010, 18:01

Forum Jump:


Users browsing this thread: 1 Guest(s)