how i do this?
#6

Quote:
Originally Posted by ExeC
Посмотреть сообщение
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    new string[128], kName[MAX_PLAYER_NAME], pName[MAX_PLAYER_NAME];
    GetPlayerName(killerid, kName, sizeof(kName));
    GetPlayerName(playerid, pName, sizeof(pName));
    format(string, sizeof(string), "Player %s(%d) killed player %s(%d)", kName,killerid,pName,playerid);
    SendClientMessageToAll(COLOUR, string);
    return 1;
}
Is that what you meant?
I think it is, otherwise... what kind of ID does he talks about?
Reply


Messages In This Thread
how i do this? - by YossiBz - 16.01.2011, 18:45
Re: how i do this? - by Toreno - 16.01.2011, 19:03
Re: how i do this? - by Kase - 16.01.2011, 19:04
Re: how i do this? - by Jochemd - 16.01.2011, 19:07
Re: how i do this? - by ExeC - 16.01.2011, 19:12
Re: how i do this? - by Toreno - 16.01.2011, 19:14
Re: how i do this? - by YossiBz - 16.01.2011, 19:22
Re: how i do this? - by Toreno - 16.01.2011, 19:24
Re: how i do this? - by Kase - 16.01.2011, 19:25
Re: how i do this? - by admantis - 16.01.2011, 20:03

Forum Jump:


Users browsing this thread: 1 Guest(s)