OnPlayerRequestSpawn
#2

You need to return 0 to stop them from spawning. Try this:
pawn Код:
if(IsLogged[playerid] == 1)
{
    return 1;
}
else
{
    SendClientMessage(playerid, COLOR_YELLOW, "ERROR: You can't spawn,maybe you arent registered or logged in.Use /register or /login");
    return 0;
}
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)