25.09.2011, 16:41
(
Последний раз редактировалось wups; 11.10.2011 в 11:12.
)
OnPlayerDamage include v3
v3: include renamed to OnPlayerDamage, added OnPlayerGiveDamage.
Find your callback
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid)
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:HealthLost, Float:ArmourLost, weaponid)
pawn Код:
public OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid)
pawn Код:
public OnPlayerGiveDamage(playerid, damagedid, Float:HealthLost, Float:ArmourLost, weaponid)
pawn Код:
#include <OPTDex>
Version 3.0 HERE
Version 2.0: HERE
Version 1.1: HERE
Enjoy!
Haven't tested it well, because not using 0.3d ATM.