Quote:
Originally Posted by Zume-Zero
Algo me dice que el problema estб aquн
pawn Код:
function MakeProperDamage(playerid) { new Float:Health; GetPlayerHealth(playerid,Health); if(Health <= 10.0 && Health >= 5.0) SetPlayerHealth(playerid,4.0); else if(Health <= 5.0 && Health > 0.0) SetPlayerHealth(playerid,1.0); GetPlayerHealth(playerid,Health); return 1; }
Intenta asн
pawn Код:
function MakeProperDamage(playerid) { new Float:Health; GetPlayerHealth(playerid,Health); if(Health >= 5.0 && Health <= 10.0) { SetPlayerHealth(playerid,4.0); } else if(Health > 0.0 && Health <= 5.0) { SetPlayerHealth(playerid,1.0); GetPlayerHealth(playerid,Health); } return 1; }
No creo que sea ese el problema por el && pero talvez 
|
NO NO FUNCIONO, dios porque no funciona