Q: MySQL
#4

cache get field content in a new defined variable, then compare the value

Code:
PlayerData[extraid][pExam] = cache_get_field_int(0, "Exam");

if(!PlayerData[playerid][pExam]) >=1)

//REST CODE GOES HERE
 StartExam(playerid);
So, it will only allow 1 or more than 1, not less than that.
Reply


Messages In This Thread
Q: MySQL - by Uberanwar - 25.06.2018, 20:58
Re: Q: MySQL - by Calisthenics - 25.06.2018, 21:32
Re: Q: MySQL - by Uberanwar - 25.06.2018, 23:25
Re: Q: MySQL - by div - 26.06.2018, 03:05
Re: Q: MySQL - by Sew_Sumi - 26.06.2018, 05:18
Re: Q: MySQL - by Calisthenics - 26.06.2018, 07:04
Re: Q: MySQL - by GTLS - 26.06.2018, 08:19
Re: Q: MySQL - by Uberanwar - 06.07.2018, 06:58
Re: Q: MySQL - by Calisthenics - 06.07.2018, 07:10
Re: Q: MySQL - by Uberanwar - 06.07.2018, 07:29

Forum Jump:


Users browsing this thread: 3 Guest(s)