Raised This Month: $ Target: $400
 0% 

loop help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Cigojlo
Senior Member
Join Date: May 2013
Location: Serbia / Belgrade
Old 09-18-2013 , 20:51   loop help
Reply With Quote #1

Hey guys i search all forum but cant finde, how can i loop to see is there is one ct left i want to protect respawn if one ct left,thanks in advance, here is waht im trying to do:

PHP Code:
public bla bla(id)
{
            new 
iPlayers[32], iNumid;
            new 
tdi get_players(iPlayersiNum"1""CT");
            
            
/* --| If already has item, show a damn print and return */
            
if(tdi && cs_get_user_team(id) == CS_TEAM_T && cs_get_user_team(id) == CS_TEAM_SPECTATOR)
            {
                
client_printidprint_chat"" );
                return 
PLUGIN_HANDLED;
            }
            
            
ExecuteHamBHam_CS_RoundRespawnid );
            
            return 
PLUGIN_HANDLED;

__________________
Quote:
Originally Posted by ghinghis View Post
the fuking TOP.SMA cannot be compiled moron !!!!!
Cigojlo 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 18:52.


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