31.05.2014, 16:30
(
Последний раз редактировалось Rittik; 31.05.2014 в 17:03.
)
Under OnPlayerDeath. This might help you out.
Код:
if(PlayerInfo[killerid][Hitman]==1) { for(new i=0;i<MAX_PLAYERS;i++) { if(PlayerInfo[i][Hitman]==1) { new str[128],name1[128],name2[128];; GetPlayerName(playerid,name2,sizeof(name2)); GetPlayerName(killerid,name1,sizeof(name1)); format(str,sizeof(str),"Hitman %s has killed his target %s",name1,name2); SendClientMessage(i,-1,str); } } }