Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

admin level problem

$
0
0
Code:

if (!( 5 <= level <= 1337 ) return SCM(pid, -1, "You cannot do this!");
I want to make it so one can not set the admin level between 6-1336
but this line makes it so i can set the admin smaller or equal to 1337 but not less or equal to 5
what can I do?

same result with:
Code:

if ( 6 >= level <= 1336 ) return SCM(pid, -1, "You cannot do this!");

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>