I used london method.
PHP Code:
else
{
set_msg_block(get_user_msgid("ScoreInfo"), BLOCK_SET);
new iPlayers[MAX_PLAYERS], iNum, iPlayer
get_players(iPlayers, iNum)
for (new i = 0; i < iNum; i++)
{
iPlayer = iPlayers[i]
cs_set_user_deaths(iPlayer, iDeaths[i])
fm_set_user_frags(iPlayer, iFrags[i])
message_begin(MSG_ALL,gmsgScoreInfo)
write_byte(iPlayer)
write_short(iFrags[i])
write_short(iDeaths[i])
write_short(0)
write_short(cs_get_user_team(iPlayer))
message_end()
}
set_msg_block(get_user_msgid("ScoreInfo"), BLOCK_NOT);
client_print_color(0, print_team_default, "%s Echipele au fost schimbate!", iTag)
}
Thank you all!