Raised This Month: $ Target: $400
 0% 

Show Menu Only after player choose team


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
brlight
Senior Member
Join Date: Jun 2011
Old 05-11-2014 , 14:53   Show Menu Only after player choose team
Reply With Quote #1

Hi, like title says I´m trying to display a Menu to players that enter Server but only after they choose one team (either T or CT). At the moment I have something like this:
PHP Code:
public showmenu(id)
{
    if( 
is_user_connected(id))
    {
        
Code Here
    
}

But if some player enter Server and doesnt choose any of the teams, menu is displayed while he is in Motd.Because user is actually "connected". How can I do so it will display only after choosing team?

Thanks in advance.


Regards,

brlight
brlight is offline
 


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 09:37.


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