SA-MP Forums Archive
[FilterScript] [FS] Player-Count by J.Bull - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [FS] Player-Count by J.Bull (/showthread.php?tid=104135)



[FS] Player-Count by J.Bull - Kanji_Suzuki - 22.10.2009

Player Count

Info

Hello, This fs will count every one entering the server and exiting the server will show
you the players online at bottum of the screen. you do not have to change the max players
as the fs reads how many slots you have on the server!

Screen


[img width=733 height=768]http://i33.tinypic.com/6ozlfs.png[/img]

Download








Please Comment!




Re: [FS] Player-Count by J.Bull - Gappy - 23.10.2009

Not bad.


Re: [FS] Player-Count by J.Bull - Rickyboy30 - 23.10.2009

That's really good


Re: [FS] Player-Count by J.Bull - Correlli - 23.10.2009

This is not good.

You're showing textdraw to a player (before you update/set the string) when he connects and you're not hiding it when he disconnects BUT you're not updating it while he's on the server - in that time, many players can connect/disconnect/reconnect.


Re: [FS] Player-Count by J.Bull - Eazy_Efolife - 23.10.2009

Very creative, but i was thinking what Don said. The textdraw will be messed up


Re: [FS] Player-Count by J.Bull - RaFsTar - 23.10.2009

Maybe press TAB ?


Re: [FS] Player-Count by J.Bull - Peter_Corneile - 23.10.2009

Strange but it works fine for me


Re: [FS] Player-Count by J.Bull - [NL]Bank - 27.10.2009

http://bb3.pastebin.com/fa4c3081
I have fixed somethings for you. ;P


Re: [FS] Player-Count by J.Bull - MrPanz - 30.10.2009

Er... nice, but gotta fix your indentation abit..


Re: [FS] Player-Count by J.Bull - Tr1viUm - 30.10.2009

Quote:
Originally Posted by Don Correlli
This is not good.

You're showing textdraw to a player (before you update/set the string) when he connects and you're not hiding it when he disconnects BUT you're not updating it while he's on the server - in that time, many players can connect/disconnect/reconnect.
TextDrawSetString automaticly updates the textdraw for everyone that got it showed.