05.09.2013, 02:40
(
Последний раз редактировалось darkxdll; 05.09.2013 в 19:18.
)
PHP код:
public OnPlayerDeath(playerid,killerid,reason)
{
new gunname[32], STRloka[64], fName[MAX_PLAYER_NAME], sName[MAX_PLAYER_NAME];
GetWeaponName(reason,gunname,sizeof(gunname));
GetPlayerName(playerid,fName,MAX_PLAYER_NAME);
GetPlayerName(killerid,sName,MAX_PLAYER_NAME);
format(STRloka, sizeof(STRloka), "%s matou o emo %s usando %s.", sName, fName, gunname);
for(new lol; lol < MAX_PLAYERS; ++lol)
{
if(IsPlayerConnected(lol) && PlayerInfo[lol][pAdmin] >= 1)
{
SendClientMessage(lol,0xFFFFFFAA,STRloka);
}
return 1;
}