TAB player info
#1

How i can do something like that:

TAB > Two clicks on player and will show player information?

My code:

Код:
new Float:Armour;
new Float:Health;
GetPlayerArmour(playerid, Armour);
GetPlayerHealth(playerid, Health);
new string[128];
format(string, sizeof(string), "Player Score: %i | Player Money: %i | Player Health: %f | Player Armour: %f", GetPlayerScore(playerid),GetPlayerMoney(playerid), Health, Armour);
ShowPlayerDialog(playerid, 8555, DIALOG_STYLE_MSGBOX, "*Player information*", string, "Okay", "");
Reply


Messages In This Thread
TAB player info - by SkyWings - 20.10.2012, 15:18
Re: TAB player info - by Anthony © - 20.10.2012, 15:21

Forum Jump:


Users browsing this thread: 1 Guest(s)