06.04.2015, 01:56
There is no right or wrong, just take some value, if you are bored read that topic
http://forum.sa-mp.com/showthread.ph...ighlight=speed
Try to use the native VectorSize (since 0.3z) for pythagoras
http://forum.sa-mp.com/showthread.ph...ighlight=speed
Try to use the native VectorSize (since 0.3z) for pythagoras
pawn Код:
stock Float: GetVehicleSpeed(vehicleid) {
new
Float: vX,
Float: vY,
Float: vZ
;
if(GetVehicleVelocity(vehicleid, vX, vY, vZ)) {
return VectorSize(vX, vY, vZ) * 180.0;
}
return 0.0;
}

