must be lvalue (non-constant) problem in IF Statement.
#1

Код:
error 022: must be lvalue (non-constant)
Код:
else if(!PlayerInfo[playerid][pAdmin] >= 1 && (!PlayerInfo[playerid][pAdmin] = 2 && (!PlayerInfo[playerid][pAdmin] = 3 && (!PlayerInfo[playerid][pAdmin] = 4 && (!PlayerInfo[playerid][pAdmin] = 1337 && (!PlayerInfo[playerid][pAdmin] = 1338 && (!PlayerInfo[playerid][pAdmin] = 99999)
I ain't really good with &&, | | I knew I was gonna get errors, but not exactly sure on how to fix it..... code looked fine to me XD
Reply


Messages In This Thread
must be lvalue (non-constant) problem in IF Statement. - by NinjahZ - 17.03.2015, 01:44
Re: must be lvalue (non-constant) problem in IF Statement. - by X337 - 17.03.2015, 02:05
Re: must be lvalue (non-constant) problem in IF Statement. - by NinjahZ - 17.03.2015, 02:07

Forum Jump:


Users browsing this thread: 1 Guest(s)