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(players, num);
for( --num; num >= 0; num-- )
{
set_pdata_bool(players[num], m_bReceivesNoMoneyNextRound, true);
}
}
EDIT:
Nvm, tested again, and it's just work fine..
__________________