Raised This Month: $ Target: $400
 0% 

Register menu command troubles...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ThantiK
Senior Member
Join Date: Mar 2004
Location: Orlando, FL
Old 06-14-2004 , 04:07   Register menu command troubles...
Reply With Quote #1

Code:
#include <amxmodx> #include <amxmisc> #include <fun> #include <cstrike> public plugin_init() {    register_plugin("Convert","0.1","ThantiK")    register_cvar("amx_convert","1")    register_event("DeathMsg","convert_meh_master","a")    register_menucmd(register_menuid("Team_Select"),(1<<0)|(1<<1),"team_select")    register_menucmd(-2,(1<<0)|(1<<1),"team_select")   // VGUI menu } public team_select(id, key){        server_print("team_select: %s, %f, %i, %d ", key, key, key, key)        return PLUGIN_CONTINUE }

What is wrong with those register menucmds?!...neither events fire the team_select function! (For CS1.6)
__________________
AMXX -- You want control? You got it.
tkwired.com cs 1.6 -- tkwired.com:27016
ThantiK is offline
Send a message via AIM to ThantiK Send a message via MSN to ThantiK
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 14:51.


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