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
Nice Script Will Surely Use it
|
Thanks
Quote:
Originally Posted by rexarlet
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
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
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-
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
nice man
|
Thanks