OnPlayerGiveDamageActor Not Calling
#3

Quote:
Originally Posted by tungki
Посмотреть сообщение
did u try to test it?
pawn Код:
public OnPlayerGiveDamageActor(playerid, damaged_actorid, Float: amount, weaponid, bodypart)
{
    new string[128], attacker[MAX_PLAYER_NAME];
    new weaponname[24];
    GetPlayerName(playerid, attacker, sizeof (attacker));
    GetWeaponName(weaponid, weaponname, sizeof (weaponname));
 
    format(string, sizeof(string), "%s has made %.0f damage to actor id %d, weapon: %s", attacker, amount, damaged_actorid, weaponname);
    SendClientMessageToAll(0xFFFFFFFF, string);
    return 1;
}
Yes. I've put a print message right after public header. But it's not showing up.
Reply


Messages In This Thread
OnPlayerGiveDamageActor Not Calling - by Novacaine - 16.07.2017, 11:47
Re: OnPlayerGiveDamageActor Not Calling - by tungki - 16.07.2017, 12:02
Re: OnPlayerGiveDamageActor Not Calling - by Novacaine - 16.07.2017, 12:03
Re: OnPlayerGiveDamageActor Not Calling - by Astralis - 16.07.2017, 12:36
Re: OnPlayerGiveDamageActor Not Calling - by Novacaine - 03.08.2017, 20:38
Re: OnPlayerGiveDamageActor Not Calling - by Xeon™ - 03.08.2017, 20:50
Re: OnPlayerGiveDamageActor Not Calling - by oMa37 - 03.08.2017, 21:19
Re: OnPlayerGiveDamageActor Not Calling - by Novacaine - 03.08.2017, 21:23
Re: OnPlayerGiveDamageActor Not Calling - by Xeon™ - 03.08.2017, 22:07
Re: OnPlayerGiveDamageActor Not Calling - by Leitoo - 12.11.2017, 16:22

Forum Jump:


Users browsing this thread: 4 Guest(s)