Raised This Month: $ Target: $400
 0% 

Checking which team you picked


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Diegorkable
Veteran Member
Join Date: Jun 2011
Old 11-08-2011 , 14:34   Checking which team you picked
Reply With Quote #1

Hey guys,

I want to check which team a guy picked on the teams menu, so I used this:

PHP Code:
register_message(get_user_msgid("VGUIMenu"), "message_VGUIMenu"); 
I guess the public message_VGUIMenu will get called when a player picks a team from that menu, no? Anyways, I get 3 parameters on that public I think:

PHP Code:
public message_VGUIMenu(iMsgidiDestid
how can I check from these 3 parameters if ( the team he picked == terror ) or if ( the team he picked == ct ) etc etc...

Am I doing it correct? if no help me please.

Thanks in advance.
__________________
My Projects:

Auto-Mix (Pug): 100%

Joined the Military (a soldier now) - Inactive
Diegorkable 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 14:28.


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