Raised This Month: $ Target: $400
 0% 

strip wepons


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
GhostMan
Senior Member
Join Date: Jun 2012
Old 09-14-2012 , 11:51   strip wepons
Reply With Quote #1

Whitch way is better to strip t's weapons?

PHP Code:
public round_end()
{
    new 
players[32], inumi    
    get_players
(playersinum"ah")
    
    for (
0inum; ++i)
    {
        if(
cs_get_user_team(players[i]) == CS_TEAM_T)
        {
            
strip_weapons(players[i])
        }
    }

PHP Code:
public round_end(id)
{
    if(
cs_get_user_team(id) == CS_TEAM_T && is_user_alive(id))
    {
        
strip_weapons(id)
    }

Stripping weapons is the only thing why i need to catch T's ids
GhostMan 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 08:21.


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