Raised This Month: $ Target: $400
 0% 

need help with seeting CVARS


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 11-10-2005 , 07:04   need help with seeting CVARS
Reply With Quote #1

Was putting a script together to set CVARS when i types amx_surf...didn't know exactly wat to do with the cvars though....

Code:
#include <amxmodx> #include <amxmisc> #include <fun> public plugin_init() {     register_srvcmd("amx_surf","cmd_surf",ADMIN_LEVEL_B,"<Surf Enabled>")     register_srvcmd("surf_config","cmd_surf",ADMIN_LEVEL_B,"<Surf Enabled>") } public cmd_surf(id, level, cid) {     if ( !cmd_access( id, level, cid, 2 ) )         return PLUGIN_HANDLED;             amx_cvar sv_accelerate 100     amx_cvar sv_airaccelerate 800     amx_cvar sv_gravity 800 } {     client_print(0, print_chat, "[AMXX]Surf Mode Enabled");     return PLUGIN_HANDLED; }

THX
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
 



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 23:41.


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