26.06.2018, 03:05
cache get field content in a new defined variable, then compare the value
So, it will only allow 1 or more than 1, not less than that.
Code:
PlayerData[extraid][pExam] = cache_get_field_int(0, "Exam"); if(!PlayerData[playerid][pExam]) >=1) //REST CODE GOES HERE StartExam(playerid);