28.08.2013, 23:14
SendDeathMessage
--
Entendi errado.
Use:
Coloque este cуdigo na OnPlayerDeath.
--
Entendi errado.
Use:
pawn Код:
new
killerName[MAX_PLAYER_NAME],
playeridName[MAX_PLAYER_NAME],
formattedMessage[128];
GetPlayerName(killerid, killerName, sizeof killerName);
GetPlayerName(playerid, playeridName, sizeof playeridName);
format(formattedMessage, sizeof formattedMessage, "O jogador: %s (%d) matou o jogador %s (%d)", killerName, killerid, playeridName, playerid);
SendClientMessageToAll(-1, formattedMessage);