SA-MP Forums Archive
[ajuda]Bug no BOOST - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [ajuda]Bug no BOOST (/showthread.php?tid=320133)



[ajuda]Bug no BOOST - makino - 21.02.2012

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;
}



Re: [ajuda]Bug no BOOST - makino - 21.02.2012

alguem ae saberia me ajudar ?


Re: [ajuda]Bug no BOOST - makino - 22.02.2012

nimguem ajudou tive que tirar do GM oBRIGADO GENTE.