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
#2

https://sampwiki.blast.hk/wiki/OnPlayerClickPlayer I think.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)