Posts: 579
Threads: 18
Joined: Apr 2017
Reputation:
0
I came to know that the plugin that provides fake players has a default ping for all bots; which is very huge number (10m+), users set their ping to normal using this function.
PS: How about you add function IsTimerActive(timer) ?
Posts: 913
Threads: 70
Joined: Apr 2009
Reputation:
0
I was not able to add that before, try to use dan's timerfix plugin. If i good remember,he added that function into his plugin
Posts: 1,208
Threads: 36
Joined: Apr 2015
Quote:
Originally Posted by iLearner
I came to know that the plugin that provides fake players has a default ping for all bots; which is very huge number (10m+), users set their ping to normal using this function.
PS: How about you add function IsTimerActive(timer) ?
|
There is no such thing as abuse of the function.
NPC ping is 4294967295 so what's a problem i need mask this shit number ?
Ziggi has been informed already and will probably change the NPC ping from -1 (default samp) to 0.
ping 0 = bot
http://imgur.com/LniBwXm
Posts: 1,208
Threads: 36
Joined: Apr 2015
Can you explain how it works ?
PHP код:
native SetExclusiveBroadcast(toggle);
native BroadcastToPlayer(playerid, toggle=1);
native SpawnForWorld(playerid);
native BroadcastDeath(playerid);
native execute(const command[], saveoutput=0, index=0);
Posts: 161
Threads: 14
Joined: Jun 2010
Reputation:
0
Is there any chance that YSF CAN disable HUD parts?
Posts: 1,208
Threads: 36
Joined: Apr 2015
Is possible to hide/show player in TAB list ?
Posts: 913
Threads: 70
Joined: Apr 2009
Reputation:
0
Its already done. But it will discomnect the given player for you
Posts: 1,208
Threads: 36
Joined: Apr 2015
Quote:
Originally Posted by kurta999
Its already done. But it will discomnect the given player for you
|
I know RemovePlayerForPlayer, but i need hide only nick in TAB
Posts: 1,208
Threads: 36
Joined: Apr 2015
When i set player name for player i see only ID, but still exist in list.
http://i.imgur.com/bEBvpBs.png
Posts: 457
Threads: 7
Joined: Jul 2017
Quote:
Originally Posted by kurta999
That's not possible.
|
it's possible.
i've seen it on a server long time ago,
http://github.com/LVPlayground/playground
they can hide players (admins) from tab and from map also nametags
Posts: 579
Threads: 18
Joined: Apr 2017
Reputation:
0
The plugin keeps crashing my server, did you find any fix kurta.
Posts: 579
Threads: 18
Joined: Apr 2017
Reputation:
0
Hey kurta,
I've made 2 versions of my script with some updates etc, one was without YSF and another with YSF (using only PAUSE FUNCTIONS), I uploaded that version and your plugin in above post, server did not crash like other times however it froze after approx 20 mins (kicking x because they didn't logon...) And then I uploaded the version without YSF and without YSF plugin, its running well and no bugs so far.
The server hangs like an infinite loop however I am simply using IsPlayerPaused and GetPlayerPausedTime funcs.
PS: the test was made on my main server however same happened on test server as well.
Posts: 913
Threads: 70
Joined: Apr 2009
Reputation:
0
I have absolutly NO IDEA, what is it. On my public server everything works fine since half year without any crashes.