OnPlayerGiveDamage
#4

new string[128], victim[MAX_PLAYER_NAME], attacker[MAX_PLAYER_NAME];
new weaponname[24];
GetPlayerName(playerid, attacker, sizeof (attacker));
GetPlayerName(damagedid, victim, sizeof (victim));

GetWeaponName(weaponid, weaponname, sizeof (weaponname));
format(string, sizeof(string), "%s has made %.0f damage to %s, weapon: %s", attacker, amount, victim, weaponname);
SendClientMessageToAll(0xFFFFFFFF, string);
Reply


Messages In This Thread
OnPlayerGiveDamage - by audriuxxx - 17.05.2014, 11:38
Re: OnPlayerGiveDamage - by audriuxxx - 17.05.2014, 12:35
Re: OnPlayerGiveDamage - by Abagail - 17.05.2014, 12:47
Re: OnPlayerGiveDamage - by audriuxxx - 17.05.2014, 12:58
Re: OnPlayerGiveDamage - by audriuxxx - 17.05.2014, 15:39

Forum Jump:


Users browsing this thread: 3 Guest(s)