Raised This Month: $ Target: $400
 0% 

Whats wrong with this script?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
atomic
Veteran Member
Join Date: Jan 2005
Location: What The Foot?
Old 10-20-2005 , 16:11  
Reply With Quote #1

Code:
 /* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <amxmisc> #include <fun> #define PLUGIN "amx_hsonly" #define VERSION "1.0" #define AUTHOR "Meta" new hs public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR)     register_clcmd("amx_hsonly","hs_only",ADMIN_KICK,"<1|0>")   } public hs_only(id,level,cid)   {     if(!cmd_access(id,level,cid,2))         return PLUGIN_HANDLED     new arg[12];     read_argv(1,arg,11);     hs = str_to_num(arg)     if(hs== 1)     {         client_print(0,print_chat,"Meta-HSONLY: HS ONLY MODE ENABLED FOR THIS ROUND")         set_user_hitzones(0,0,2)     }     if(hs== 0)       {         client_print(0,print_chat,"Meta-HSONLY: HS ONLY MODE DISABLED FOR THIS ROUND")         set_user_hitzones(0,0,255) //this is how you set the hitzones back to normal     }     return PLUGIN_CONTINUE }

tell me if it works
__________________
atomic is offline
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 23:44.


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