Posts: 577
Threads: 199
Joined: Aug 2010
Reputation:
0
Ok, i get a tag mismatch on this:
if(!playerdata[playerid][planelic] == 1)
WTF!
Posts: 445
Threads: 96
Joined: Jan 2011
Reputation:
0
Can I see how you place your enum into an array please?
Posts: 577
Threads: 199
Joined: Aug 2010
Reputation:
0
Im assuming you mean this:
enum playerinfo
{
moneyamount,
scoreamount,
stafflevel,
banned,
banreason,
planelic,
helilic,
buslic,
governmentlic,
courierlic,
trucklic,
dumperlic
}
new playerdata[MAX_PLAYERS][playerinfo];
Posts: 149
Threads: 0
Joined: Oct 2009
Reputation:
0
Why do you put the ! in front?
Posts: 577
Threads: 199
Joined: Aug 2010
Reputation:
0
If playerdata[playerid][planelic] does not = 1, then it calls the function i placed in the brackets.
! means if false, no ! means if true.