29.01.2019, 12:18
Quote:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart) { if(IsPlayerConnected(playerid)) { new id, Float: pHP, Float: pArm; GetPlayerHealth(playerid, pHP); GetPlayerArmour(playerid, pArm); for(new i = 0; i < MAX_DAMAGES; i++) { if(!DamageInfo[playerid][i][dmgDamage]) { id = i; break; } } |
Quote:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart) |