Help admin chat
#10

Quote:
Originally Posted by Jamester
Посмотреть сообщение
In my code I have && pInfo[playerid][Admin] >=1
And you're just checking the integer comparing it to nothing? (I might not know this also)
When it doesn't have a value to be compared with, it checks if it's not 0.

if (!pInfo[playerid][Admin]) -> if level is 0
if (pInfo[playerid][Admin]) -> if level is not 0 (so it's any other number)
Reply


Messages In This Thread
Help admin chat - by BlackEvils - 17.05.2015, 19:19
Re: Help admin chat - by Threshold - 18.05.2015, 05:03
Re: Help admin chat - by BlackEvils - 18.05.2015, 19:14
Re: Help admin chat - by J0sh... - 18.05.2015, 19:20
Re: Help admin chat - by Threshold - 18.05.2015, 19:26
Re: Help admin chat - by J0sh... - 18.05.2015, 19:27
Re: Help admin chat - by Threshold - 18.05.2015, 19:30
Re: Help admin chat - by Konstantinos - 18.05.2015, 19:30
Re: Help admin chat - by J0sh... - 18.05.2015, 19:32
Re: Help admin chat - by Konstantinos - 18.05.2015, 19:48

Forum Jump:


Users browsing this thread: 3 Guest(s)