Raised This Month: $ Target: $400
 0% 

Help im a beginner at scripting![Command Help]!


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
V3n0m435
Member
Join Date: Apr 2006
Location: Cali
Old 07-15-2006 , 04:45   Help im a beginner at scripting![Command Help]!
Reply With Quote #1

How do I make a plugin so it works for everyone in the server whats the code? What do I need to change so it work for everyone don't remake the code just tell me!
Code:
#include <amxmodx> #include <amxmisc> #include <fun> public plugin_init() {  register_plugin("Menu Hook mod", "1.0", "V3N0M")  register_concmd("say GetHook", "func_gethook", 0)  register_cvar("hookmod_on", "1")  register_clcmd("amx_hook", "hook") } public func_gethook(id) {  if(get_cvar_num("hookmod_on") == 0)  {   return PLUGIN_HANDLED  }    else  {    set_user_rendering(id)   return PLUGIN_HANDLED  }  return PLUGIN_HANDLED }
__________________
Servers Game:Counter-Strike:Condition Zero


Last edited by V3n0m435; 07-17-2006 at 17:19.
V3n0m435 is offline
Send a message via AIM to V3n0m435 Send a message via MSN to V3n0m435 Send a message via Yahoo to V3n0m435
 


Thread Tools
Display Modes

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 07:59.


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