31.05.2017, 00:36
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);
}
}
}
}