SA-MP Forums Archive
[FilterScript] Score and Ping | In Textdraws | User friendly | 0.3e | v1.0 - 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] Score and Ping | In Textdraws | User friendly | 0.3e | v1.0 (/showthread.php?tid=378980)



Score and Ping | In Textdraws | User friendly | 0.3e | v1.0 - [HK]Ryder[AN] - 20.09.2012

Introduction
Hello Everyone. This is a basic FS i made in a few minutes. It is user friendly and easy to understand. It shows a player's score and ping in a textdraw just below the money and health bar.
Screenshots

Download
Source Code
Mediafire
Solidfiles
Pastebin
Compiled File(AMX)
Solidfiles
Mediafire
Credits
SA:MP Team - SA:MP
iPLEOMAX - Textdraw Editor
SDraw - Noticed a simple bug
[HK]Ryder[AN] - Filterscript



Re: Score and Ping | In Textdraws | User friendly | 0.3e | v1.0 - Lordzy - 20.09.2012

Simple and Good.


Re: Score and Ping | In Textdraws | User friendly | 0.3e | v1.0 - SDraw - 20.09.2012

PHP код:
SetTimerEx("update"1000true"d"); 
Too bad, this will work only for player with id 0, and will create too much timers for one player...You should fix it...


Re: Score and Ping | In Textdraws | User friendly | 0.3e | v1.0 - [HK]Ryder[AN] - 20.09.2012

Thanks for noticing that..edited main post.


Re: Score and Ping | In Textdraws | User friendly | 0.3e | v1.0 - NoahF - 20.09.2012

Good job Ryder. It's simple and nice. I like where you placed the TD.


Re: Score and Ping | In Textdraws | User friendly | 0.3e | v1.0 - [HK]Ryder[AN] - 20.09.2012

Thank You!


Re: Score and Ping | In Textdraws | User friendly | 0.3e | v1.0 - SDraw - 20.09.2012

Quote:
Originally Posted by [HK]Ryder[AN]
Посмотреть сообщение
Thanks for noticing that..edited main post.
Oh, I forgot say, that you should destroy timer for player when he leaves...


Re: Score and Ping | In Textdraws | User friendly | 0.3e | v1.0 - [HK]Ryder[AN] - 20.09.2012

Quote:
Originally Posted by SDraw
Посмотреть сообщение
Oh, I forgot say, that you should destroy timer for player when he leaves...
Done that too..I +repped you xD


Re: Score and Ping | In Textdraws | User friendly | 0.3e | v1.0 - SDraw - 20.09.2012

Quote:
Originally Posted by [HK]Ryder[AN]
Посмотреть сообщение
Done that too
No, no, no
PHP код:
new updatetimer
You should make array:
PHP код:
new updatetimer[MAX_PLAYERS]; 
Simple, one payer connected to server, updatetimer is equal 5 (could be another number), but after that another player connected to server, and updatetimer is equal 6. First player left server, and timer for another player will be destroyed.


Re: Score and Ping | In Textdraws | User friendly | 0.3e | v1.0 - iOmar - 21.09.2012

Nice And Awsome