25.01.2013, 19:14
Hello SA-MP Community, I just managed to fix my wonderful Admin/Login system! The problem is, I made a command, and restricted it for Level 3 admins only. Heres the command:
So I went in-game and I done /jetpack. But you don't need a Admin Level 3 or anything! I didn't have a admin level, and the jetpack still spawned. It was supposed to say "You are not allowed to use this command", and stop the jetpack from spawning. And that also happens with the VIPlevel.
I hope you can help me with this!
Thanks!
Код:
CMD:jetpack(playerid,params[]) { if(pInfo[playerid][Adminlevel] >=3) { SetPlayerSpecialAction(playerid, 2); SendClientMessage(playerid,-1, "|__Jetpack Spawned__|"); return 1; } else return SendClientMessage(playerid, -1, " You are not allowed to use this command"); }
I hope you can help me with this!
Thanks!