14.07.2010, 05:12
well i was wondering if someone clicks this player it will show his stats. I was womndering how to do this
new string[128];
new name[MAX_PLAYER_NAME];
GetPlayerName(clickedplayerid, name, sizeof(name));
format(string, sizeof(string), "Name: %s, Kills: %d, Deaths: %d", name, Kills[clickedplayerid], Deaths[clickedplayerid]);
SendClientMessage(playerid, 0xFFFFFF00, string);