18.05.2013, 23:47
PHP код:
//Stock para Getar o Nome do Player
stock PlayerName(playerid)
{
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
return pname;
}
//OnplayerDeath
new string[50];
format(string, sizeof(string),"Voce Morreu Para %s ", PlayerName(killerid));
SendClientMessage(playerid, COLOR_ORANGE, string);