[Pedido] Matar e morreu aparecer no chat
#2

SendDeathMessage

--

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);
Coloque este cуdigo na OnPlayerDeath.
Reply


Messages In This Thread
Matar e morreu aparecer no chat - by luccagomes15 - 28.08.2013, 21:56
Re: Matar e morreu aparecer no chat - by Lуs - 28.08.2013, 23:14
Re: Matar e morreu aparecer no chat - by Zomber - 29.08.2013, 02:35
Re: Matar e morreu aparecer no chat - by luccagomes15 - 29.08.2013, 15:39
Re: Matar e morreu aparecer no chat - by PT - 29.08.2013, 17:03
Re: Matar e morreu aparecer no chat - by luccagomes15 - 30.08.2013, 04:41
Re: Matar e morreu aparecer no chat - by bruxo00 - 30.08.2013, 10:25
Re: Matar e morreu aparecer no chat - by PT - 30.08.2013, 11:50

Forum Jump:


Users browsing this thread: 1 Guest(s)