26.06.2018, 05:18
Quote:
cache get field content in a new defined variable, then compare the value
Code:
if(!PlayerData[playerid][pExam]) >=1) |
If you check a variable with the ! operator, it's a not, so anything other than 1, being 0, or -1 will return a result.
The if statement the OP had, should at least give some result.
OP, chuck a print statement in there so you know whether it's actually hitting that check and whether it's making it out the other side.