PHP Code:
message_begin(MSG_BROADCAST, get_user_msgid("ScoreInfo"))
write_byte(id) // the player you're updating score to...
write_short(get_user_frags(id) + 1) // get player's frags and increase them by 1
write_short(get_user_deaths(id)) // death count stays the same
write_short(0) // ClassID, this is not for CS, but for TFC and so... I think :}
write_short(get_user_team(id)) // team ID he's in
message_end()
and you would best cache the value of get_user_msgid()
__________________