Why this not works?
#2

You are completely sure you've defined "mustlogin" previously?

If so; try doing:
pawn Код:
public OnPlayerRequestSpawn(playerid)
{
    #if defined mustlogin
    if(ServerInfo[MustLogin] == 1 && PlayerInfo[playerid][Registered] == 1 && PlayerInfo[playerid][LoggedIn] == 0){
    SendClientMessage(playerid,COLOR_LRED,"Registered account. Please type /login [password]");
    return 0;}
    #else
    return 1;
    #endif
}
Reply


Messages In This Thread
Why this not works? - by Cypress - 08.11.2010, 18:48
Re: Why this not works? - by LarzI - 08.11.2010, 18:51
Re: Why this not works? - by Cypress - 08.11.2010, 18:55

Forum Jump:


Users browsing this thread: 1 Guest(s)