18.02.2014, 00:14
1. overwrite the old includes with the new from http://www.sa-mp.com/download.php
2. edit the callbacks (OnPlayerTakeDamage/OnPlayerGiveDamage) in your script with:
forward OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart);
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
forward OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid, bodypart);
public OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid, bodypart)
2. edit the callbacks (OnPlayerTakeDamage/OnPlayerGiveDamage) in your script with:
forward OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart);
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
forward OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid, bodypart);
public OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid, bodypart)