It often crash the server when many players having fun
I think the stock
PHP Code:
FX_UpdateScore(id){
if(!(1 <= id <= g_maxplayers)) return
set_pev(id, pev_frags, float(g_score[id]));
set_pdata_int(id, OFFSET_CSDEATHS, g_death[id]);
static team; team = fm_get_user_team(id)
message_begin(MSG_ALL, g_msgScoreInfo)
write_byte(id)
write_short(g_score[id])
write_short(g_death[id])
write_short(0)
write_short(team)
message_end()
if(team == 0 || team == 3) return
message_begin(MSG_ALL, g_msgTeamScore);
write_string(CS_Teams[team]);
write_short(g_score_team[team]);
message_end();
}
won't work fine because I sometimes ran it with bots and it said
Quote:
the msg"87" has not been sent
|
I'm a chinese and SORRY FOR MY BAD ENGLISH