Enums are freaking me out
#4

Quote:
Originally Posted by Vince
Посмотреть сообщение
Do you even look at your own script? How can you do it right three times and then fuck it up?

pawn Код:
enum PlayerInfo
{
    isMuted,
    isJailed,
}
 
new Info[MAX_PLAYERS][PlayerInfo];
pawn Код:
public OnPlayerConnect(playerid)
{
    Info[playerid][isMuted] = 0;
    Info[playerid][isJailed] = 0;
        return 1;
}
pawn Код:
PlayerInfo[targetid][isMuted] = 1;
That gave me the same errors my friend
Reply


Messages In This Thread
Enums are freaking me out - by Sellize - 20.01.2013, 13:24
Re: Enums are freaking me out - by Threshold - 20.01.2013, 13:26
Re: Enums are freaking me out - by Vince - 20.01.2013, 13:29
Re: Enums are freaking me out - by Sellize - 20.01.2013, 14:03
Re: Enums are freaking me out - by Threshold - 20.01.2013, 14:08
Re: Enums are freaking me out - by Sellize - 20.01.2013, 14:10
Re: Enums are freaking me out - by InfiniTy. - 20.01.2013, 14:10
Re: Enums are freaking me out - by Sellize - 20.01.2013, 14:13
Re: Enums are freaking me out - by InfiniTy. - 20.01.2013, 14:16
Re: Enums are freaking me out - by LarzI - 20.01.2013, 14:19

Forum Jump:


Users browsing this thread: 1 Guest(s)