Raised This Month: $51 Target: $400
 12% 

ScoreBoard Refresh


Post New Thread Reply   
 
Thread Tools Display Modes
WhiteFang1319
Senior Member
Join Date: Jan 2017
Old 07-04-2018 , 01:59   Re: ScoreBoard Refresh
Reply With Quote #11

Refresh =/= Reset
I think he's setting player's scores using a function and wants to "refresh" the scoreboard as they don't show the new scores he has set.

Last edited by WhiteFang1319; 07-04-2018 at 02:14.
WhiteFang1319 is offline
Ghosted
Veteran Member
Join Date: Apr 2015
Location: Georgia
Old 07-04-2018 , 07:18   Re: ScoreBoard Refresh
Reply With Quote #12

Quote:
Originally Posted by WhiteFang1319 View Post
Refresh =/= Reset
I think he's setting player's scores using a function and wants to "refresh" the scoreboard as they don't show the new scores he has set.
Yea, but if he uses natives like cs_set_user_death, set_user_frags, then he doesn't need to do that, there is ResetScore plugin that not refreshers ScoreInfo, but still works as it must. If he uses custom values then he should call plus hook ScoreInfo. am i right, Kakashi?
__________________

[MOD] CS Weapon Mod V1.7.1
[MM] MetaMod-C V1.0
[MOD] CS NPC Mod (5%)


Probably Left AM

Last edited by Ghosted; 07-04-2018 at 07:22.
Ghosted is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-04-2018 , 08:01   Re: ScoreBoard Refresh
Reply With Quote #13

Quote:
Originally Posted by Ghosted View Post
Yea, but if he uses natives like cs_set_user_death, set_user_frags, then he doesn't need to do that, there is ResetScore plugin that not refreshers ScoreInfo, but still works as it must. If he uses custom values then he should call plus hook ScoreInfo. am i right, Kakashi?
If only the natives worked correctly, then you would be right. Not sure which one was it, but one of those 2 doesn't refresh the scoreboard when used. Switching their places in the code should fix the problem.
https://github.com/OciXCrom/SimpleRS...x_simplers.sma

// Edit: I think set_user_frags doesn't refresh it, since the code above works.
__________________

Last edited by OciXCrom; 07-04-2018 at 08:03.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Reply



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 19:59.


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