Quote:
Originally Posted by tuuker
use strings then
pawn Код:
public OnPlayerDeath(playerid, killerid, reason) { new string[128],killed[MAX_PLAYER_NAME],killer[MAX_PLAYER_NAME]; GetPlayerName(playerid,killed,sizeof(killed)); GetPlayerName(killerid,killer,sizeof(killer)); format(string,sizeof(string),"%s has been killed by %s",killed,killer); SendClientMessage(playerid,0xAA3333AA,string); return 1; }
|
I totally agree. Nice and easy.
But if you have alot of players killing each other, it will spam your chatbox area abit.