Raised This Month: $ Target: $400
 0% 

Solved Help with stock


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 06-27-2018 , 23:22   Re: Help with stock
Reply With Quote #1

Solved with

PHP Code:
GetSurrender(CsTeams:Team)
{
    new 
Players[32],Num;
    
get_players(Players,Num,"ceh",Team == CS_TEAM_T "TERRORIST" "CT");

    new 
Count 0;

    for(new 
0;Num;i++)
    {
        if(
UserData[Players[i]][bSurrender])
        {
            
Count++;
        }
    }

    return 
Count;

Thanks Bugsy and Smiley

Last edited by iceeedr; 06-27-2018 at 23:23.
iceeedr is offline
Send a message via Skype™ to iceeedr
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 12:39.


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