Raised This Month: $51 Target: $400
 12% 

CVAR Commands Pack


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Server Management        Approver:   devicenull (200)
johnjg75
Veteran Member
Join Date: Mar 2004
Location: Delaware
Old 07-21-2004 , 07:00   CVAR Commands Pack
Reply With Quote #1

This is my first plugin! A few CVARS that are included in the file instead of using amx_cvar which saves time and you dont need to remember all of the CVAR names.
Code:
/***************************************************************** * AMX_CVARS by SnipaJ *===================== * * Change Log *------------ * v1.5 * - added amx_hostname, amx_grav, and amx_lan * * v1.2 * - added amx_c4timer, amx_startmoney, amx_tkpunish and amx_flashlight * * v1.1, * - added amx_buytime and amx_roundtime * *v1.0, * - made plugin and realeased * - 2 commands  amx_ff and amx_freezetime *******************************************************************/ #include <amxmodx> #include <amxmisc>
After the command you put the value of the CVAR that it effects. It's just to simplify things. I hope this helps many people that dont have the time to remember everything (such as myself) and to type everything. It simplifies RCON and is overall better.
Enjoy!
Attached Files
File Type: sma Get Plugin or Get Source (amx_cvars.sma - 3091 views - 3.7 KB)
__________________
johnjg75 is offline
Send a message via AIM to johnjg75 Send a message via MSN to johnjg75 Send a message via Yahoo to johnjg75
Burnzy
Veteran Member
Join Date: Apr 2004
Old 07-21-2004 , 08:59  
Reply With Quote #2

just post the .sma. Dont do a .zip


the .sma will be able to be downloaded as a .amx. Look at other plugins if u dont understand.
__________________
Burnzy is offline
Send a message via AIM to Burnzy
johnjg75
Veteran Member
Join Date: Mar 2004
Location: Delaware
Old 07-21-2004 , 08:59  
Reply With Quote #3

More CVARs will be added but i will only add the necessary ones because too many would spam the amx_help if you know what i mean.
__________________
johnjg75 is offline
Send a message via AIM to johnjg75 Send a message via MSN to johnjg75 Send a message via Yahoo to johnjg75
johnjg75
Veteran Member
Join Date: Mar 2004
Location: Delaware
Old 07-21-2004 , 09:01  
Reply With Quote #4

Quote:
Originally Posted by Burnzy
just post the .sma. Dont do a .zip


the .sma will be able to be downloaded as a .amx. Look at other plugins if u dont understand.
there... fixed
__________________
johnjg75 is offline
Send a message via AIM to johnjg75 Send a message via MSN to johnjg75 Send a message via Yahoo to johnjg75
johnjg75
Veteran Member
Join Date: Mar 2004
Location: Delaware
Old 07-21-2004 , 21:47  
Reply With Quote #5

new version released
__________________
johnjg75 is offline
Send a message via AIM to johnjg75 Send a message via MSN to johnjg75 Send a message via Yahoo to johnjg75
Burnzy
Veteran Member
Join Date: Apr 2004
Old 07-21-2004 , 22:45  
Reply With Quote #6

add sum of this maybe...
mp_alltalk
hostname
sv_gravity
sv_aim
__________________
Burnzy is offline
Send a message via AIM to Burnzy
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 07-21-2004 , 23:10  
Reply With Quote #7

sv_alltalk you mean?
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
Burnzy
Veteran Member
Join Date: Apr 2004
Old 07-21-2004 , 23:13  
Reply With Quote #8

i was typing fast
__________________
Burnzy is offline
Send a message via AIM to Burnzy
johnjg75
Veteran Member
Join Date: Mar 2004
Location: Delaware
Old 07-22-2004 , 00:59  
Reply With Quote #9

added some of you're suggestions, any more ideas? i wanna make my first plugin the best it can... thx
__________________
johnjg75 is offline
Send a message via AIM to johnjg75 Send a message via MSN to johnjg75 Send a message via Yahoo to johnjg75
johnjg75
Veteran Member
Join Date: Mar 2004
Location: Delaware
Old 07-22-2004 , 04:08  
Reply With Quote #10

anyone?
__________________
johnjg75 is offline
Send a message via AIM to johnjg75 Send a message via MSN to johnjg75 Send a message via Yahoo to johnjg75
Reply



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 15:01.


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