Raised This Month: $ Target: $400
 0% 

CVAR can only be change by Certain Admins


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
deadman909
Veteran Member
Join Date: Oct 2008
Old 02-27-2013 , 16:17   CVAR can only be change by Certain Admins
Reply With Quote #1

I was wondering if there is a way to register a CVAR but be able to control what admins can change this cvar.

because I know for CMD like this below

register_concmd("amx_heal", "CmdHeal", ADMIN_LEVEL_A, "<nick, #userid, authid or @team> <HP to give>");

you are able to control the Admin Level. But what about for CVARS I want admins to have Immunity and Cvar access in order to use the CVAR.

register_cvar("amx_ship_amount", "50")

Like for example that one above how would I set it up like how I explained above?
__________________

deadman909 is offline
Send a message via MSN to deadman909 Send a message via Yahoo to deadman909
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:37.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode