Quote:
Originally Posted by instinctpt1
He told.. to do that
yeah @natsheh i was so offmind .. i just went acc to wht he said in description xD
|
Here you go fully optimized.
PHP Code:
public event_ctwin() WinnerTeam("CT")
public event_twin() WinnerTeam("TERRORIST")
public WinnerTeam(const teamWon[])
{
new players[32], num;
get_players(players, num, "be", teamWon)
for(new i, x; i < num; i++)
{
x = players[i]
if(cs_get_user_money(x) < 800)
cs_set_user_money(x, 800)
}
}
__________________