06.03.2013, 18:10
Tenta ae
Код:
new Float:Health[MAX_PLAYERS], Float:Armour[MAX_PLAYERS]; if( Armour[playerid] > 1 ) { if( weaponid == 24 )// em este caso vocк remover 20 Armour { SetPlayerArmour( playerid , GetPlayerArmour(playerid) - 20); } } else if(Armour[playerid] < 0) { if(weaponid == 24 )// em este caso vocк remover 20 Health { SetPlayerHealth( playerid , GetPlayerHealth(playerid) - 20); } } return 1; }