GetVehicleSpeed(vehicleid) { new Float:vx, Float:vy, Float:vz, Float:vel; vel = GetVehicleVelocity(GetPlayerVehicleID(playerid), vx, vy, vz); vel = (floatsqroot(((vx*vx)+(vy*vy))+(vz*vz))* 181.5); return vel; }