Critical Error
#1

I want that if is player admin and if is he is not logged in and he wanna spawn send that gametext

pawn Код:
public OnPlayerRequestSpawn(playerid)
{
    if(IsPlayerLogged(playerid) == 0 && if(!IsPlayerAdminEx(playerid))
    {
        GameTextForPlayer(playerid, "~r~You need to loggin first!", 1500, 3);
    }
   
    return 1;
}
Reply
#2

pawn Код:
public OnPlayerRequestSpawn(playerid)
{
    if(IsPlayerLogged(playerid) == 0 && !IsPlayerAdminEx(playerid))
    {
        GameTextForPlayer(playerid, "~r~You need to loggin first!", 1500, 3);
    }
   
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)