[ajuda]Bug no BOOST
#1

Gente eu tenho um sistema de boost no meu gm mais quando o kra usa boost o carro pega fogo tipo nao no jogo dele mais no quem o ve e se explodir o qe ve explode '-'
pawn Код:
BoostVeh(vid, Float:dis = 0.24)
{
    new Float:T[4];
    GetVehicleVelocity(vid, T[0], T[1], T[2]);
    GetVehicleZAngle(vid, T[3]);
    SetVehicleVelocity(vid,floatadd(T[0],floatmul(dis,floatsin(-T[3],degrees))), floatadd(T[1],floatmul(dis,floatcos(-T[3],degrees))), T[2]);
    SetVehicleHealth(vid,floatpower(1500.84,16));
    return 1;
}
TBM PEGA FOGO QUANDO USO ISSO:
pawn Код:
JumpVeh(vid, Float:dis = 0.3)
{
    new Float:T[3];
    GetVehicleVelocity(vid, T[0], T[1], T[2]);
    SetVehicleVelocity(vid, T[0], T[1], floatadd(T[2],dis));
    SetVehicleHealth(vid,floatpower(1500.84,16));
    return 1;
}
Reply
#2

alguem ae saberia me ajudar ?
Reply
#3

nimguem ajudou tive que tirar do GM oBRIGADO GENTE.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)