27.02.2018, 21:07
Quote:
Zkus toto:
Code:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart) { if(issuerid != INVALID_PLAYER_ID) { if(weaponid == 0 && AFK[playerid]) { new Float:iarmour; new Float:ihealth; GetPlayerArmour(playerid, iarmour); GetPlayerHealth(playerid, ihealth); SetPlayerArmour(playerid, iarmour); SetPlayerHealth(playerid, ihealth); } } return 1; } |
EN: Nice one
