Raised This Month: $ Target: $400
 0% 

Checking which team you picked


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Devil259
Veteran Member
Join Date: Dec 2009
Location: France (59)
Old 11-09-2011 , 07:02   Re: Checking which team you picked
Reply With Quote #7

Quote:
Originally Posted by Pattinho View Post
Try this

PHP Code:
....
register_menucmd(register_menuid("Team_Select",1), (1<<0)|(1<<1)|(1<<4)|(1<<5), "team_select")
....
...
public 
team_select(id,keys)
{
 if (
key==1//Terrorist
....
if (
key==2//CT
...
if(
key ==4// Spectator

PHP Code:
....
register_menucmd(register_menuid("Team_Select",1), (1<<0)|(1<<1)|(1<<4)|(1<<5), "team_select")
....
...
public 
team_select(id,key)
{
     if( 
key == //Terrorist
....
     if( 
key == //CT
...
     if( 
key == // Spectator


Last edited by Devil259; 11-09-2011 at 07:03.
Devil259 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