You don't understand.
'Round start' event is a global event. It happens after the freeze time.
You have to retrieve the players list using get_players(). See my snippet above.
But if you want to set money before the players start to buy weapons, you have to use 'new round' or 'reset hud' event.
Code:
#include <amxmodx>
#include <cstrike>
public plugin_init()
{
register_plugin( "Plugin", "1.0", "Amxx Community" );
register_event( "HLTV", "eNew_round", "a", "1=0", "2=0" );
}
public eNew_round()
{
new iPlayers[32], iNum, iPid;
get_players( iPlayers, iNum, "a" );
for( new i; i < iNum; i++ )
{
iPid = iPlayers[i];
client_print( iPid, print_chat, "[AMXX] NOWA RUNDA---------------------<<<" );
cs_set_user_money( iPid, cs_get_user_money( iPid + 6666 ) );
client_print( iPid, print_chat, "[AMXX] CSN-SQL: Dodano 6666$" );
}
}
New Round is happen at the Freeze Time start.
EDIT: @connor : Damn you. ;)
__________________