Raised This Month: $ Target: $400
 0% 

change players scoreinfo


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
karlos
Veteran Member
Join Date: Apr 2004
Location: Germany/Poland
Old 10-18-2004 , 12:30   change players scoreinfo
Reply With Quote #1

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?
__________________
alias White Panther
karlos is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:16.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode