SA-MP Forums Archive
[FilterScript] Reklez's Playerinfo Textdraw - Check your playerinfo stats - 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] Reklez's Playerinfo Textdraw - Check your playerinfo stats (/showthread.php?tid=324939)



Reklez's Playerinfo Textdraw - Check your playerinfo stats - Reklez - 11.03.2012

Reklez's Playerinfo Textdraw - Check your playerinfo stats

---------------------

Reklez's Playerinfo Textdraw or RPinfo are tested script and it was script neat/clean/no bad indentation

What it does do?

it updates the following in textdraw

Code:
- Health
- Armour
- Ping
- Score
- Cash
the following i give was updating with OnPlayerUpdate. there is no command needed it is completely shows the information in textdraw!

Found bugs?:

Did you notice some bugs?, PM me if you notice and i will fix it and re-upload the files

Screenshots:



Credits:

Reklez

Downloadlink:

Pastebin
Mediafire

Attachment (for Registered Members Only!):


Re: Reklez's Playerinfo Textdraw - Check your playerinfo stats - SsHady - 11.03.2012

Nice Script Will Surely Use it


Re: Reklez's Playerinfo Textdraw - Check your playerinfo stats - rexarlet - 11.03.2012

I think you should remove cash, health and armour and add fps. Good script!


Re: Reklez's Playerinfo Textdraw - Check your playerinfo stats - TheArcher - 11.03.2012

I like the mixed colors. Good job

P.S Add a timer instead of using OnPlayerUpdate. Just need 1000 - 2000ms to update the textdraw strings.


Re: Reklez's Playerinfo Textdraw - Check your playerinfo stats - HuSs3n - 11.03.2012

Shouldn't you destroy the textdraws onplayerdisconnect ?


Re: Reklez's Playerinfo Textdraw - Check your playerinfo stats - Reklez - 14.03.2012

Quote:
Originally Posted by SsHady
View Post
Nice Script Will Surely Use it
Thanks

Quote:
Originally Posted by rexarlet
View Post
I think you should remove cash, health and armour and add fps. Good script!
Health and Armour Textdraw that i made is useful than GTA San (Main one) because it shows the value of your health than the Main Health and Armour Textdraw. i have no time to make FPS on that time sorry about that

Quote:
Originally Posted by TheArcher
View Post
I like the mixed colors. Good job

P.S Add a timer instead of using OnPlayerUpdate. Just need 1000 - 2000ms to update the textdraw strings.
Thanks, i will try next time when i make a script something like this

Quote:
Originally Posted by HuSs3n
View Post
Shouldn't you destroy the textdraws onplayerdisconnect ?
Well that was my taste. i think when you destroy it onplayerdisconnect it will not cause some bugs when player reconnect again.


Re: Reklez's Playerinfo Textdraw - Check your playerinfo stats - -Prodigy- - 14.03.2012

You can use ~n~ to make a new line; Like so:
pawn Code:
format(string, sizeof(string), "Cash: %d~n~Score: %d~n~Health: %.2f~n~Armour: %.2f~n~Ping: %d", ...);
This way you don't have to create 5 textdraws. Only downside is that you can't use custom colors like goldish or grey. Only colors to use can be found here: https://sampwiki.blast.hk/wiki/GameTextStyle


Re: Reklez's Playerinfo Textdraw - Check your playerinfo stats - Reklez - 14.03.2012

Quote:
Originally Posted by -Prodigy-
View Post
You can use ~n~ to make a new line; Like so:
pawn Code:
format(string, sizeof(string), "Cash: %d~n~Score: %d~n~Health: %.2f~n~Armour: %.2f~n~Ping: %d", ...);
This way you don't have to create 5 textdraws. Only downside is that you can't use custom colors like goldish or grey. Only colors to use can be found here: https://sampwiki.blast.hk/wiki/GameTextStyle
Well i didn't notice that. i create TextDraw by using a TextDraw Editor.


Re: Reklez's Playerinfo Textdraw - Check your playerinfo stats - $$inSane - 09.04.2012

nice man


Re: Reklez's Playerinfo Textdraw - Check your playerinfo stats - Reklez - 09.04.2012

Quote:
Originally Posted by $$inSane
View Post
nice man
Thanks