onplayerrequestspawn weird bug
#6

your indentations gave me a stroke.

pawn Код:
if( (
should only have one bracket.

(I fixed that and changed the indentations so I can read it better for more issues)

pawn Код:
if(ServerInfo[AdminOnlySkins] == 1)
 {
    if(GetPlayerSkin(playerid) == ServerInfo[AdminSkin])
    {
        if(PlayerInfo[playerid][Level] >= 1)
        {
            SetPlayerHealth(playerid, 100);
        }
        else
        {
            if(PlayerInfo[playerid][Level] >= 0)
            {
                SendClientMessage(playerid, red, "You are not an admin to use this skin");
            }
        }
    }
    return 0;
}
Though your code doesn't make sense, what are you trying to do
Reply


Messages In This Thread
onplayerrequestspawn weird bug - by KillerStrike23 - 24.04.2014, 20:44
Re: onplayerrequestspawn weird bug - by KillerStrike23 - 24.04.2014, 21:19
Re: onplayerrequestspawn weird bug - by DarkLored - 24.04.2014, 21:22
Re: onplayerrequestspawn weird bug - by KillerStrike23 - 24.04.2014, 21:24
Re: onplayerrequestspawn weird bug - by KillerStrike23 - 24.04.2014, 21:34
Re: onplayerrequestspawn weird bug - by Mattakil - 25.04.2014, 00:11
Re: onplayerrequestspawn weird bug - by KillerStrike23 - 25.04.2014, 10:27
Re: onplayerrequestspawn weird bug - by KillerStrike23 - 25.04.2014, 10:39
Re: onplayerrequestspawn weird bug - by KillerStrike23 - 25.04.2014, 10:45
Re: onplayerrequestspawn weird bug - by KillerStrike23 - 25.04.2014, 10:51

Forum Jump:


Users browsing this thread: 3 Guest(s)