onplayerclickplayer
#6

You should add to OnPlayerClickPlayer function something like this:
pawn Код:
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);
This is an example, use your own variables for Kills and Deaths and whatever
Reply


Messages In This Thread
onplayerclickplayer - by ToPhrESH - 14.07.2010, 05:12
Re: onplayerclickplayer - by MikkelGutten - 14.07.2010, 05:22
Re: onplayerclickplayer - by ToPhrESH - 14.07.2010, 05:42
Re: onplayerclickplayer - by TheInnocentOne - 14.07.2010, 05:58
Re: onplayerclickplayer - by ToPhrESH - 14.07.2010, 06:36
Re: onplayerclickplayer - by pierhs - 14.07.2010, 07:18

Forum Jump:


Users browsing this thread: 1 Guest(s)