AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Help im a beginner at scripting![Command Help]! (https://forums.alliedmods.net/showthread.php?t=41432)

V3n0m435 07-15-2006 04:45

Help im a beginner at scripting![Command Help]!
 
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 }

Cheap_Suit 07-15-2006 05:38

Re: Help im a beginner at scripting!
 
http://forums.alliedmods.net/showthread.php?p=42838

V3n0m435 07-15-2006 15:05

Re: Help im a beginner at scripting!
 
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!

Gizmo 07-15-2006 15:09

Re: Help im a beginner at scripting!
 
What do u mean with "for everyone in the server" ?

V3n0m435 07-15-2006 15:49

Re: Help im a beginner at scripting!
 
Quote:

Originally Posted by Gizmo
What do u mean with "for everyone in the server" ?

so it works for everyone

V3n0m435 07-15-2006 17:02

Re: Help im a beginner at scripting!
 
Quote:

Originally Posted by V3n0m435
so it works for everyone

Still need that command!

Gizmo 07-15-2006 17:16

Re: Help im a beginner at scripting![Command Help]!
 
I have no idea what you are talking about :?

V3n0m435 07-15-2006 17:25

Re: Help im a beginner at scripting![Command Help]!
 
what do I have to do to a plugin to make it work not only for admin but for the whole server??

Gizmo 07-15-2006 19:01

Re: Help im a beginner at scripting![Command Help]!
 
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

Lord_Destros 07-15-2006 20:25

Re: Help im a beginner at scripting![Command Help]!
 
Have no idea wtf you mean, be more descriptive.........Do you mean something like command access (i.e. ADMIN_IMMUNITY or ADMIN_ALL?)


All times are GMT -4. The time now is 07:59.

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