Raised This Month: $ Target: $400
 0% 

NEED HELP TO MODIFY PLUGIN


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
diamond-optic
Veteran Member
Join Date: May 2005
Old 11-07-2006 , 09:11   Re: Modify Vote/Ban Menu Plugin....
Reply With Quote #4

in the plugin_init section of the plugin (adminvote) you'll see this:

Code:
	register_concmd("amx_votemap", "cmdVoteMap", ADMIN_VOTE, "<map> [map] [map] [map]")
	register_concmd("amx_votekick", "cmdVoteKickBan", ADMIN_VOTE, "<name or #userid>")
	register_concmd("amx_voteban", "cmdVoteKickBan", ADMIN_VOTE, "<name or #userid>")
change the ADMIN_VOTE to ADMIN_ALL

i know you said not to post codes.. but thats super simple to do


**edit**

actually im not sure if that will allow normal ppl to use them thru menus or anything.. not sure, i never really use menus.. but it might.. otherwise that will still allow them to use them in the console
__________________

Last edited by diamond-optic; 11-07-2006 at 09:15.
diamond-optic is offline
 



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 06:51.


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