[Ajuda] Anti Speed Hacker...
#6

Estб funзгo pega a velocidade.(crйditos ao criador)
pawn Код:
stock GetPlayerSpeed(playerid) {
    new
        Float: vX = Float: GetPlayerVehicleID(playerid),
        Float: vY,
        Float: vZ
    ;
    if(_: vX) {
        GetVehicleVelocity(_: vX, vX, vY, vZ);
    } else {
        GetPlayerVelocity(playerid, vX, vY, vZ);
    }
    vX *= vX, vY *= vY, vZ *= vZ;
    return (floatsqroot(vX + vY + vZ) * 200.0);
}
Reply


Messages In This Thread
Anti Speed Hacker... - by Mercurio - 16.07.2012, 04:30
Re: Anti Speed Hacker... - by ViniBorn - 16.07.2012, 04:32
Re: Anti Speed Hacker... - by Mercurio - 16.07.2012, 04:35
Re: Anti Speed Hacker... - by Kuddy - 16.07.2012, 04:36
Re: Anti Speed Hacker... - by Mercurio - 16.07.2012, 04:41
Re: Anti Speed Hacker... - by leonardo1434 - 16.07.2012, 07:41
Re: Anti Speed Hacker... - by Lucas Carneiro™ - 16.07.2012, 12:31

Forum Jump:


Users browsing this thread: 1 Guest(s)