Raised This Month: $ Target: $400
 0% 

Menu


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ironskillz1
AlliedModders Donor
Join Date: Jul 2012
Location: Sweden
Old 06-02-2013 , 10:40   Re: Menu
Reply With Quote #10

Still problems

T vs T works it only shows T vs T hud message

but when i start CT vs T it shows CT vs T and T vs T hud message


Code:
PHP Code:
ublic TeamMenuid )

 new 
szText555 char ]
 
formatexszTextcharsmaxszText ), "\r%s\w by %s^n\y-Choose Team"PREFIXAUTHOR )
 new 
menu menu_createszText"TeamMenu_Handler" )
 
 
menu_additemmenu"\rT VS T""0")
 
 
menu_additemmenu"\rCT VS T""1")
 
 
menu_setpropmenuMPROP_EXITMEXIT_ALL )
 
menu_displayidmenu)
}
public 
TeamMenu_Handleridmenuitem )
{
 if( 
item == MENU_EXIT )
 {
  
menu_destroymenu )
  return 
PLUGIN_HANDLED
 
}
 new 
data], iName64 ], accesscallback
 menu_item_getinfo
menuitemaccessdatacharsmaxdata ), iNamecharsmaxiName ), callback )
 
 new 
Team str_to_numdata 
 
 
set_task0.1,"StartGames"Team );
 
 return 
PLUGIN_HANDLED
}
public 
StartGamesTeam )

 static 
players32 ], numid;
 
get_playersplayersnum"a" );
 
 for( new 
0numi++ )
 {
  
id players];
  
  if( 
<= Team 
  {   
   
show_dhudmessage0"[CT VS T] Started" )
   
set_dhudmessage25500, -1.00.0201.07.00.11.0 
  }
  if( 
<= Team 
  { 
   
show_dhudmessage0"[T VS T] Started" )
   
set_dhudmessage25500, -1.00.0201.07.00.11.0 
  }   
 }

__________________
I have many private and unique plugins for Jailbreak and Hide'N'Seek. PM me for more info.

Pm me.

Check out my roulette site.

Last edited by ironskillz1; 06-02-2013 at 10:41.
ironskillz1 is offline
Send a message via Skype™ to ironskillz1
 



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 16:27.


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