12.11.2009, 09:48
Hi, im going to create something for the death reason and kill except i want it to appear on screen so something Like Player Darkside[id] Has Killed Player Bert[id] With Weapon: M4 This is what i got..
Can someone please help me Thank you
Код:
public OnPlayerDeath(playerid, killerid, reason) { new pName[MAX_PLAYER_NAME]; new string[48]; new plname[MAX_PLAYER_NAME]; GetPlayerName(playerid, pName, sizeof(pName)); format(string, sizeof(string), "Player %s has Died", pName); SendClientMessageToAll(0xFF0000AA, string); return 1; }