[DUDA] Vida...
#2

pawn Код:
if (newkeys & KEY_JUMP)
    {
        if(gTeam[playerid] == TEAM_ZOMBIES)
        {
            if(Informacion[playerid][ClaseZombies] == 4) // Hunter
            {
                if(Informacion[playerid][SaltoHunter] == 1) // Si estб activado el salto
                {
                    new Float:Vida;
                    GetPlayerHealth(playerid, Vida);
                    SetPlayerHealth(playerid,Vida+18);
                    new Float:x, Float:y, Float:z;
                    GetPlayerVelocity(playerid, x, y, z);
                    SetPlayerVelocity(playerid, x,y,z+2.0);
                  }
            }
        }
    }
Reply


Messages In This Thread
[DUDA] Vida... - by Matyaas - 31.05.2017, 00:21
Respuesta: [DUDA] Vida... - by Tirael - 31.05.2017, 00:36
Respuesta: [DUDA] Vida... - by Goncho28 - 31.05.2017, 13:30
Respuesta: [DUDA] Vida... - by Matyaas - 01.06.2017, 03:59
Respuesta: [DUDA] Vida... - by Tirael - 01.06.2017, 11:46
Respuesta: [DUDA] Vida... - by Goncho28 - 01.06.2017, 13:06

Forum Jump:


Users browsing this thread: 1 Guest(s)