i try to change a players scoreinfo in Natural-Selection
Code:
new score = 1
new frags = get_user_frags(lifter) + 1
new deaths = get_user_deaths(lifter)
new dummy = 0
new class_a = get_team(lifter)
new team = pev(lifter,pev_team)
message_begin(MSG_ALL, get_user_msgid("ScoreInfo"))
write_byte(lifter)
write_short(frags) // score
write_short(deaths) // frags
write_short(dummy) // deaths
write_short(class) // class
write_short(0) // ?
write_short(team) // team
message_end()
i can change frags and deaths but it always change the scoreboard so that i have alien colored scoreboard, red colored or readyroom (white) and dont see my score or score of anyone else
also if the color changed there is no name like alien or red team, only if readyroom score then there is redyrrom writen
team = 1 -> ready room (or maybe it was with 0 ready room and with 1 like 3 or 4)
team = 2 -> aliens (team name not writen)
team = 3 or 4 -> readyroom but not writen that reayroom
team = 5 -> aliens , cryptic text
any1 can help?
__________________