Stats Command
#2

Most of the things you are wanting depends on how, and if, your server already updates those pieces of information. However, for the cash, whether or not they're on foot, armor and health, look at the following functions:

https://sampwiki.blast.hk/wiki/GetPlayerMoney
https://sampwiki.blast.hk/wiki/GetPlayerState
https://sampwiki.blast.hk/wiki/GetPlayerArmour
https://sampwiki.blast.hk/wiki/GetPlayerHealth

You will need to gather your desired information and format it into a string, which you then send to the player. For that, you'll need the format and SendClientMessage functions

https://sampwiki.blast.hk/wiki/format
https://sampwiki.blast.hk/wiki/SendClientMessage

Note that this is not the place to be requesting scripts, but to gain guidance on how to achieve, and or, help with one. If you have no scripting experience and want someone to create the command for you, refer to the Script Request Thread, which is stickied, on this board.
Reply


Messages In This Thread
Stats Command - by IvancheBG - 11.08.2011, 07:48
Re: Stats Command - by Grim_ - 11.08.2011, 08:03
Re: Stats Command - by Darnell - 11.08.2011, 08:07

Forum Jump:


Users browsing this thread: 1 Guest(s)