Raised This Month: $ Target: $400
 0% 

Frag wont update scoreboard


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 05-25-2009 , 03:01   Re: Frag wont update scoreboard
Reply With Quote #5

PHP Code:
message_begin(MSG_BROADCASTget_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()
__________________
Hunter-Digital 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 01:31.


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