19.02.2018, 18:48
PHP код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
if(issuerid != INVALID_PLAYER_ID)
{
new string[20];
format(string, sizeof(string), "~s~-~r~%.0f", amount);
GameTextForPlayer(playerid, string, 1000, 6);
GameTextForPlayer(issuerid , string, 1000, 5);
PlayerPlaySound(issuerid , 17802, 0.0, 0.0, 0.0);