Raised This Month: $ Target: $400
 0% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
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
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 07-15-2006 , 05:38   Re: Help im a beginner at scripting!
Reply With Quote #2

http://forums.alliedmods.net/showthread.php?p=42838
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.
Cheap_Suit is offline
V3n0m435
Member
Join Date: Apr 2006
Location: Cali
Old 07-15-2006 , 15:05   Re: Help im a beginner at scripting!
Reply With Quote #3

Quote:
Originally Posted by Cheap_Suit
No I ask for the code to make its so its for everyone not a link on how to make a script I already made a script i need the code so its for everyone in the server!
__________________
Servers Game:Counter-Strike:Condition Zero

V3n0m435 is offline
Send a message via AIM to V3n0m435 Send a message via MSN to V3n0m435 Send a message via Yahoo to V3n0m435
Gizmo
Senior Member
Join Date: May 2006
Location: Sweden
Old 07-15-2006 , 15:09   Re: Help im a beginner at scripting!
Reply With Quote #4

What do u mean with "for everyone in the server" ?
__________________
Gizmo is offline
V3n0m435
Member
Join Date: Apr 2006
Location: Cali
Old 07-15-2006 , 15:49   Re: Help im a beginner at scripting!
Reply With Quote #5

Quote:
Originally Posted by Gizmo
What do u mean with "for everyone in the server" ?
so it works for everyone
__________________
Servers Game:Counter-Strike:Condition Zero

V3n0m435 is offline
Send a message via AIM to V3n0m435 Send a message via MSN to V3n0m435 Send a message via Yahoo to V3n0m435
V3n0m435
Member
Join Date: Apr 2006
Location: Cali
Old 07-15-2006 , 17:02   Re: Help im a beginner at scripting!
Reply With Quote #6

Quote:
Originally Posted by V3n0m435
so it works for everyone
Still need that command!
__________________
Servers Game:Counter-Strike:Condition Zero

V3n0m435 is offline
Send a message via AIM to V3n0m435 Send a message via MSN to V3n0m435 Send a message via Yahoo to V3n0m435
V3n0m435
Member
Join Date: Apr 2006
Location: Cali
Old 07-15-2006 , 17:25   Re: Help im a beginner at scripting![Command Help]!
Reply With Quote #7

what do I have to do to a plugin to make it work not only for admin but for the whole server??
__________________
Servers Game:Counter-Strike:Condition Zero

V3n0m435 is offline
Send a message via AIM to V3n0m435 Send a message via MSN to V3n0m435 Send a message via Yahoo to V3n0m435
Gizmo
Senior Member
Join Date: May 2006
Location: Sweden
Old 07-15-2006 , 19:01   Re: Help im a beginner at scripting![Command Help]!
Reply With Quote #8

You need to show us the plugin or else no one can answer that, if itīs a long one post it as an attachment else post it in [small] tags
__________________
Gizmo is offline
Lord_Destros
Veteran Member
Join Date: Jul 2004
Location: With stupid.
Old 07-15-2006 , 20:25   Re: Help im a beginner at scripting![Command Help]!
Reply With Quote #9

Have no idea wtf you mean, be more descriptive.........Do you mean something like command access (i.e. ADMIN_IMMUNITY or ADMIN_ALL?)
__________________
Quote:
Originally Posted by Twilight Suzuka
Don't worry m'lord. The turtles day will come.
Lord_Destros is offline
Send a message via AIM to Lord_Destros
TheNewt
Donor
Join Date: Jun 2006
Location: Where I live.
Old 07-15-2006 , 21:08   Re: Help im a beginner at scripting![Command Help]!
Reply With Quote #10

LOL hes saying a command that everyone can use
Sheesh just don't check for anything!

Code:
 public plugin_init() {      register_plugin(PLUGIN,VERSION,AUTHOR)      register_clcmd("amx_hi", "hi") } public hi(id) {      // Do what you want here }
Everyone will be able to use amx_hi.
__________________
Quote:
toe3_ left the chat room. (G-lined (AUTO Excessive connections from a single host.))
TheNewt 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 07:59.


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