Raised This Month: $ Target: $400
 0% 

[SOLVED] No receiving money at round start


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
11922911
Senior Member
Join Date: Dec 2011
Location: Yuen Long Country
Old 01-20-2014 , 21:54   [SOLVED] No receiving money at round start
Reply With Quote #1

In CS, when a team has won this round, then all players will get some money on next round.
But I want to set a player no receives money on next round.

I tried to setting player pdata m_bReceivesNoMoneyNextRound(890) = true before money receives, but it doesn't work..


Code:
PHP Code:
    register_event("HLTV""EventNewRound""a""1=0""2=0");
}

public 
EventNewRound()
{
    const 
m_bReceivesNoMoneyNextRound 890;
    
    new 
players[32], num;
    
get_players(playersnum);
    
    for( --
numnum >= 0num-- )
    {
        
set_pdata_bool(players[num], m_bReceivesNoMoneyNextRoundtrue);
    }


EDIT:
Nvm, tested again, and it's just work fine..
__________________
youtube:
@holla16

Last edited by 11922911; 01-20-2014 at 22:15.
11922911 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 10:05.


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