Raised This Month: $ Target: $400
 0% 

GHW GHR (Grab + Hook + Rope)


Post New Thread Reply   
 
Thread Tools Display Modes
hugz`
Veteran Member
Join Date: Jul 2007
Location: In a house
Old 07-18-2007 , 21:50   Re: GHW GHR (Grab + Hook + Rope)
Reply With Quote #131

This doesn't work when I have fake players in my server!!
hugz` is offline
Send a message via AIM to hugz`
GhostRider77
Junior Member
Join Date: Jul 2007
Old 07-20-2007 , 09:48   Re: GHW GHR (Grab + Hook + Rope)
Reply With Quote #132

Quote:
Originally Posted by GHW_Chronic View Post
then take away the flag that uses +hook. If you have other commands on that flag think about recompiling this plugin with my custom compiler.
I don't know what/use it
GhostRider77 is offline
mynameisearl
Junior Member
Join Date: Sep 2007
Old 09-25-2007 , 11:06   Re: GHW GHR (Grab + Hook + Rope)
Reply With Quote #133

hello, i just registered so someone could please tell me how to install this plugin, first i download SMA and AMXX file? pls help
mynameisearl is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 09-25-2007 , 13:59   Re: GHW GHR (Grab + Hook + Rope)
Reply With Quote #134

http://wiki.amxmodx.org/Configuring_AMX_Mod_X#Plugins
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
sytremelaker
Senior Member
Join Date: Jun 2006
Location: Staples Center, Los Ange
Old 10-03-2007 , 01:40   Re: GHW GHR (Grab + Hook + Rope)
Reply With Quote #135

It possible to disable one or more of the...things? I only want to use Rope ut this it the only plugin that I was able to find that is admin-only. So, just to clarify, I want hook + grab disabled, but want to keep rope.
__________________
@ PC Shop Gaming
LetShannonDunk.com - 2010 All-Star Dunk Contest hopeful!
sytremelaker is offline
Send a message via AIM to sytremelaker
.bLeSs^
New Member
Join Date: Oct 2007
Location: Germany, Baden-Würtember
Old 11-10-2007 , 09:19   Re: GHW GHR (Grab + Hook + Rope)
Reply With Quote #136

Very nice plugin
__________________
Sry 4 my bad englisch
.bLeSs^ is offline
Send a message via MSN to .bLeSs^
gevo
Senior Member
Join Date: Jun 2007
Old 12-09-2007 , 11:20   Re: GHW GHR (Grab + Hook + Rope)
Reply With Quote #137

yes i kno this is old but sry if im botherin u
it would b cool if u add admin flag command to it cus i dont want some admins to have it but i do want em to have the command revive and its letter o which also allows to use GHR


~Thank You
gevo is offline
sytremelaker
Senior Member
Join Date: Jun 2006
Location: Staples Center, Los Ange
Old 12-09-2007 , 13:01   Re: GHW GHR (Grab + Hook + Rope)
Reply With Quote #138

Quote:
Originally Posted by gevo View Post
yes i kno this is old but sry if im botherin u
it would b cool if u add admin flag command to it cus i dont want some admins to have it but i do want em to have the command revive and its letter o which also allows to use GHR


~Thank You
Just download the .sma's, look for the lines that define what admin flags are needed to edit, edit them to your liking and recompile.

Quote:
Admin Level Constants:

#define ADMIN_ALL 0 //Everyone
#define ADMIN_IMMUNITY 1 //Flag "a", immunity
#define ADMIN_RESERVATION 2 //Flag "b", reservation
#define ADMIN_KICK 4 //Flag "c", kick
#define ADMIN_BAN 8 //Flag "d", ban
#define ADMIN_SLAY 16 //Flag "e", slay
#define ADMIN_MAP 32 //Flag "f", map change
#define ADMIN_CVAR 64 //Flag "g", cvar change
#define ADMIN_CFG 128 //Flag "h", config execution
#define ADMIN_CHAT 256 //Flag "i", chat
#define ADMIN_VOTE 512 //Flag "j", vote
#define ADMIN_PASSWORD 1024 //Flag "k", sv_password
#define ADMIN_RCON 2048 //Flag "l", rcon access
#define ADMIN_LEVEL_A 4096 //Flag "m", custom
#define ADMIN_LEVEL_B 8192 //Flag "n", custom
#define ADMIN_LEVEL_C 16384 //Flag "o", custom
#define ADMIN_LEVEL_D 32768 //Flag "p", custom
#define ADMIN_LEVEL_E 65536 //Flag "q", custom
#define ADMIN_LEVEL_F 131072 //Flag "r", custom
#define ADMIN_LEVEL_G 262144 //Flag "s", custom
#define ADMIN_LEVEL_H 524288 //Flag "t", custom
#define ADMIN_MENU 1048576 //Flag "u", menus
#define ADMIN_ADMIN 16777216 //Flag "y", default admin
#define ADMIN_USER 33554432 //Flag "z", default user

#define FLAG_KICK 1 //Auth flag "a", kick if no auth
#define FLAG_TAG 2 //Auth flag "b", auth by tag
#define FLAG_AUTHID 4 //Auth flag "c", auth by WON/Steam ID
#define FLAG_IP 8 //Auth flag "d", auth by IP address
#define FLAG_NOPASS 16 //Auth flag "e", don't require password
__________________
@ PC Shop Gaming
LetShannonDunk.com - 2010 All-Star Dunk Contest hopeful!
sytremelaker is offline
Send a message via AIM to sytremelaker
Old 12-09-2007, 14:47
gevo
This message has been deleted by gevo.
gevo
Senior Member
Join Date: Jun 2007
Old 12-09-2007 , 14:57   Re: GHW GHR (Grab + Hook + Rope)
Reply With Quote #139

Code:
/****************************
 Register Commands and CVARs
****************************/
public plugin_init()
{
 register_plugin("Grab + Hook + Rope","1.0","GHW_Chronic")
 register_concmd("+grab","grab_on",ADMIN_LEVEL_Q," - Use: bind key +grab")
 register_concmd("-grab","grab_off")
 register_concmd("grab_toggle","grab_toggle",ADMIN_LEVEL_Q,"Toggles your grab on and off")
 register_concmd("+hook","hook_on",ADMIN_LEVEL_Q," - Use: bind key +hook")
 register_concmd("-hook","hook_off")
 register_concmd("hook_toggle","hook_toggle",ADMIN_LEVEL_Q,"Toggles your hook on and off")
 register_concmd("+rope","rope_on",ADMIN_LEVEL_Q," - Use: bind key +rope")
 register_concmd("-rope","rope_off")
 register_concmd("rope_toggle","rope_toggle",ADMIN_LEVEL_Q,"Toggles your rope on and off")
 register_concmd("amx_give_grab","cmd_givetake",ADMIN_LEVEL_Q,"Give a player the ability to grab <nick>")
 register_concmd("amx_give_hook","cmd_givetake",ADMIN_LEVEL_Q,"Give a player the ability to hook <nick>")
 register_concmd("amx_give_rope","cmd_givetake",ADMIN_LEVEL_Q,"Give a player the ability to rope <nick>")
 register_concmd("amx_take_grab","cmd_givetake",ADMIN_LEVEL_Q,"Take a player's ability to grab <nick>")
 register_concmd("amx_take_hook","cmd_givetake",ADMIN_LEVEL_Q,"Take a player's ability to hook <nick>")
 register_concmd("amx_take_rope","cmd_givetake",ADMIN_LEVEL_Q,"Take a player's ability to rope <nick>")
 register_concmd("amx_ghr_menu","menu_cmd",ADMIN_LEVEL_Q,"Shows a menu that allows you to turn on/off non-admin use of grab, hook, or rope")
 register_menucmd(register_menuid("ghr_menu"),(1<<0)|(1<<1)|(1<<2)|(1<<9), "Pressedghr")
 grab_speed_cvar = register_cvar("grab_speed","5")
 grab_enabled_cvar = register_cvar("grab_enabled","0")
 hook_speed_cvar = register_cvar("hook_speed","5")
 hook_enabled_cvar = register_cvar("hook_enabled","0")
 rope_speed_cvar = register_cvar("rope_speed","5")
 rope_enabled_cvar = register_cvar("rope_enabled","0")
 maxplayers = get_maxplayers()
 //CVAR that is only used for tracking servers that use this plugin.
 register_cvar("GHW_GHW","1",FCVAR_SERVER)
}
i tried to change to Q to L but it didnt compile help pls im a noob at this
gevo is offline
sytremelaker
Senior Member
Join Date: Jun 2006
Location: Staples Center, Los Ange
Old 12-10-2007 , 23:39   Re: GHW GHR (Grab + Hook + Rope)
Reply With Quote #140

There is neither an ADMIN_LEVEL_Q nor ADMIN_LEVEL_L

Use the constants from above.

EDIT: Oh, wait, check this line out:

Code:
#define ADMIN_LEVEL_Q	ADMIN_LEVEL_C
That might mean ADMIN_LEVEL_Q = ADMIN_LEVEL_C, try altering ADMIN_LEVEL_C to something else.
__________________
@ PC Shop Gaming
LetShannonDunk.com - 2010 All-Star Dunk Contest hopeful!

Last edited by sytremelaker; 12-10-2007 at 23:41.
sytremelaker is offline
Send a message via AIM to sytremelaker
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 22:10.


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