[AYUDA]Esta Bien???
#1

Bueno Como sabran YO no he aportado nada a esta comunidad Ni a otra.

Razon:Aun sigo aprendiendo.

y Bueno he intentado aser una funcion y quiero que ustedes que saben me digan si esta BIEN.

pawn Код:
stock GivePlayerHealth(playerid, Vida[])
{
    new Float:health;
    GetPlayerHealth(playerid, health);
    new Operacion[3];
    if(Vida[0] >= 0 && Vida[0] <= 9)
    {
        Operacion[2] = floatstr(Vida);
        health += Operacion[2];
    }
    else if(Vida[0] == '-')
    {
        split( Vida, Operacion, '-' );
        Operacion[2] = floatstr(Operacion[1]);
        health -= Operacion[2];
    }
    else return 1;
    return SetPlayerHealth(playerid, health);
}
Si esta Mal Corriganmen que yo quiero aprender!!!

Grasias y Saludos...!!!
Reply
#2

mmm... їque quieres hacer?...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)