27.05.2013, 12:01
It would've been nice if you provided the admin system you're using, but still, the logic works this way:
- Player issues a command
- You check his level
- If it's 4 or bigger than 4, success
- If his level is less than 4 you display your error message
Код:
if(playerinfo[playerid][alevel] >= 4) { // Success.... } else if(playerinfo[playerid][alevel] < 4) { // Something like "You can't use the command specified." }