how to refresh stats after adding frags ?
Hello.
I have one line of code which gives a player reward for picking up a flag: Code:
So how to refresh stats ? |
Re: how to refresh stats after adding frags ?
Using ScoreInfo event : http://wiki.alliedmods.net/Half-Life...ents#ScoreInfo
|
Re: how to refresh stats after adding frags ?
Well I've searched all forums and I cannot find any part of code which will tell me how to implement this. I really don't know how can I refresh stats or use that event. I found some code examples how to check does user presses +showscores but I don't think it can help.
http://forums.alliedmods.net/showpost.php?p=455980 Code:
Code:
|
Re: how to refresh stats after adding frags ?
Something like :
Code:
|
Re: how to refresh stats after adding frags ?
Does it updates all players scoreboard ?
|
Re: how to refresh stats after adding frags ?
message_begin( MSG_ALL, g_msgScoreInfo ) . So yes, it does.
|
Re: how to refresh stats after adding frags ?
Thank you it works for me perfectly :)
|
| All times are GMT -4. The time now is 11:07. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.