27.02.2014, 17:42
https://sampwiki.blast.hk/wiki/Control_Structures#if
https://sampwiki.blast.hk/wiki/Control_Structures#Operators
Those are basic. Read the above articles and you will understand how to compare variables with values or other variables.
It basically checks if the level is lesser than 0 (negative which is invalid level) or greater than 4 (which goes 5 and higher which is still invalid level). Pretty much the same thing the first one does as well. It checks if the level is not between 0 and 4.
https://sampwiki.blast.hk/wiki/Control_Structures#Operators
Those are basic. Read the above articles and you will understand how to compare variables with values or other variables.
It basically checks if the level is lesser than 0 (negative which is invalid level) or greater than 4 (which goes 5 and higher which is still invalid level). Pretty much the same thing the first one does as well. It checks if the level is not between 0 and 4.