Ayuda con codigo zombie
#7

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
Reply


Messages In This Thread
Ayuda con codigo zombie - by alexsf - 03.12.2013, 20:16
Respuesta: Ayuda con codigo zombie - by adrianxd - 03.12.2013, 21:58
Respuesta: Ayuda con codigo zombie - by alexsf - 03.12.2013, 22:09
Respuesta: Ayuda con codigo zombie - by Zume - 03.12.2013, 22:21
Respuesta: Ayuda con codigo zombie - by alexsf - 03.12.2013, 22:27
Respuesta: Ayuda con codigo zombie - by Zume - 03.12.2013, 22:32
Respuesta: Ayuda con codigo zombie - by alexsf - 03.12.2013, 23:14
Respuesta: Ayuda con codigo zombie - by xDarkuzSx - 04.12.2013, 03:29
Respuesta: Ayuda con codigo zombie - by alexsf - 04.12.2013, 11:13
Respuesta: Ayuda con codigo zombie - by xDarkuzSx - 05.12.2013, 03:49

Forum Jump:


Users browsing this thread: 1 Guest(s)