Raised This Month: $ Target: $400
 0% 

Buy Weapon


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
wwzw
Member
Join Date: Feb 2009
Old 02-01-2012 , 06:18   Buy Weapon
Reply With Quote #1

I use GHW weapon plugin . but it can't use for some player using VGUI menu .
So I test for VGUI menu .

register_menucmd(-28, 511, "hook_menu0")
register_menucmd(-29, 511, "hook_menu1")
register_menucmd(-30, 511, "hook_menu2")
register_menucmd(-32, 511, "hook_menu3")
register_menucmd(-31, 511, "hook_menu4")
register_menucmd(-33, 511, "hook_menu5")
register_menucmd(-34, 511, "hook_menu6")

These have no effect .
I continue to test:

register_message(get_user_msgid("VGUIMenu"), "message_vgui_menu")
public message_vgui_menu(msgid, dest, id)
{
static msgarg1
msgarg1 = get_msg_arg_int(1)

client_print(id, print_center, "TEST: vgui_menu <%d> ", msgarg1)
return PLUGIN_CONTINUE;
}

Results: Players join team menu is 2, players choose the model menu is 27. But open the purchase menu, and the purchase of various types of weapons will not work .

Why is this so? Client version is 4554 .

I think the command to manage arms purchases by the rules.
But I do not know all the commands can buy weapons .

Like "awp" and "magnum", both can buy awp .
"fn57" "fiveseven" : Effect is the same .

Who can tell me the server can accept all command for the purchase of weapons . Thanks !
wwzw is offline
yamin
BANNED
Join Date: Jan 2012
Location: Sharjah
Old 02-01-2012 , 06:19   Re: Buy Weapon
Reply With Quote #2

give your facebook id please
yamin is offline
wwzw
Member
Join Date: Feb 2009
Old 02-01-2012 , 06:35   Re: Buy Weapon
Reply With Quote #3

Sorry ! I have no facebook id .
My E-mail is [email protected]
wwzw is offline
Reply


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 00:21.


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