Raised This Month: $ Target: $400
 0% 

Buy Weapon


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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