Raised This Month: $ Target: $400
 0% 

Trash It


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
edgaras85
Senior Member
Join Date: Mar 2010
Location: Lithuania
Old 06-09-2010 , 14:23   Trash It
Reply With Quote #1

Trash

Last edited by edgaras85; 06-09-2010 at 15:57.
edgaras85 is offline
Brreaker
Senior Member
Join Date: Oct 2009
Location: Constanta, Romania
Old 06-09-2010 , 14:25   Re: Menu Problem
Reply With Quote #2

PHP Code:
case 1: {
  new 
iCTcount;
  if( 
cs_get_user_teamid ) == CS_TEAM_CT && g_Lifesid ] > ) {
  for( new 
1<= g_iMaxplayersi++ ) {
   if( 
is_user_alive) && cs_get_user_team) == CS_TEAM_CT )
    
iCTcount++;
  }
  }  
   if( 
iCTcount ) {
    
set_task(1.0"fnRevivePlayer"id);
   
    
ColorChatidRED"%s^1 %L"g_szPrefixid"DR_LIFE_RESPAWN" );
  }
   return 
PLUGIN_CONTINUE;
        }
 case 
2:
        {
   return 
PLUGIN_HANDLED;
        }
    }
 
menu_destroy(menu); 
 return 
PLUGIN_CONTINUE;

Try this one
__________________
There are 10 kinds of people.Those who understand binary, and those who don't.
Also, for those who understand binary, there is a donation tab too!
No steam || PM support!
Brreaker is offline
Send a message via MSN to Brreaker Send a message via Yahoo to Brreaker
edgaras85
Senior Member
Join Date: Mar 2010
Location: Lithuania
Old 06-09-2010 , 14:43   Re: Menu Problem
Reply With Quote #3

Quote:
Originally Posted by Brreaker View Post
PHP Code:
case 1: {
  new 
iCTcount;
  if( 
cs_get_user_teamid ) == CS_TEAM_CT && g_Lifesid ] > ) {
  for( new 
1<= g_iMaxplayersi++ ) {
   if( 
is_user_alive) && cs_get_user_team) == CS_TEAM_CT )
    
iCTcount++;
  }
  }  
   if( 
iCTcount ) {
    
set_task(1.0"fnRevivePlayer"id);
 
    
ColorChatidRED"%s^1 %L"g_szPrefixid"DR_LIFE_RESPAWN" );
  }
   return 
PLUGIN_CONTINUE;
        }
 case 
2:
        {
   return 
PLUGIN_HANDLED;
        }
    }
 
menu_destroy(menu); 
 return 
PLUGIN_CONTINUE;

Try this one
I published iCTcount
in start of menu...
edgaras85 is offline
RedRobster
Veteran Member
Join Date: Apr 2010
Location: Your Closet
Old 06-09-2010 , 15:59   Re: Trash It
Reply With Quote #4

It is hard to tell if you did or not if you only post the cases and not even the switch or the actual menu itself.
RedRobster is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-09-2010 , 16:10   Re: Trash It
Reply With Quote #5

Quote:
Originally Posted by edgaras85 View Post
Trash
Jesus christ! What is up with all the post deleting today?
__________________
fysiks is offline
edgaras85
Senior Member
Join Date: Mar 2010
Location: Lithuania
Old 06-10-2010 , 16:06   Re: Trash It
Reply With Quote #6

Quote:
Originally Posted by fysiks View Post
Jesus christ! What is up with all the post deleting today?
I made myself
edgaras85 is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 06-10-2010 , 18:05   Re: Trash It
Reply With Quote #7

Quote:
Originally Posted by edgaras85 View Post
Trash
Stop blanking posts, it is only hurting others (and yourself) when they go to search for an issue that is similar
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
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 15:18.


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