a wee bit o' help for the newbie
erm.. everytime someone does a console command, like '+lookup' or something, i want to check if hes an admin, and if not, i want him to not be able to use that command.. what would the code be for that?
ive tried to figure it out, but i just cant... NEWB SCRIPTER COMIN THROUGH! |
admins can only look up! now thats an idea.. lol
well i would imagine that tou would hook +lookup with registering a register_clcmd and then go from there. |
:P +lookup was an example
|
Code:
|
v3x, you cannot register + and - commands with AMXx, unless they're you're own.
|
Oh, right.. :roll:
|
lol, how would i do it then?
|
anyone?
|
What is the REAL command you want blocked from users? (PM me if top-secret!)
|
If the command is strictly client, and not sent to the server except through messages, you will not be able to block it this way.
If you told me what it was, I could figure out if you could lock it another way. (or common sense could let others figure it out) |
| All times are GMT -4. The time now is 14:03. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.