|
Veteran Member
Join Date: Apr 2017
Location: Brazil
|
09-07-2021
, 13:48
Re: HighPingKicker OLO Based/Updated [23/08/2021]
|
#22
|
1 - The problem with client_authorized for this question is that sometimes it is called before putinserver, which ended up making the task unfeasible because the player falls into the is_user_connected(id) check, I believe my solution using the native is_user_authorized(id) is a good one, leave your comment if possible.
2 - You're right, changed as described, the task was lack of attention, adjusted.
3 - My style varies from day to day hahaha, but you're right, when the plugin is for other people's use, consistency becomes necessary, done.
4 - Created a global variable to hold the average ping value and broken the check in 2 parts for better reading.
5 - Lack of attention, adjusted.
6 - Done.
Thanks for the teachings in general, especially regarding styles and names, I hope to contribute even more to the community.
Edit 1: The reason I created the version with ent think was thinking that maybe it would be lighter than using tasks, however, for your surprise and displeasure I believe I'm wrong, which is why I remove this version.
__________________
Quote:
Originally Posted by fysiks
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
|
https://iceeedr.com.br/
Last edited by iceeedr; 09-07-2021 at 13:53.
|
|
|
|