28.08.2014, 00:31
Quote:
eu e o Pottus usamos esta funcao:
pawn Код:
|
pawn Код:
stock GetPlayerSpeed(playerid)
{
new Float:Pos[3];
GetVehicleVelocity(GetPlayerVehicleID(playerid), Pos[0], Pos[1], Pos[2]);
return floatround(floatsqroot(Pos[0] * Pos[0] + Pos[1] * Pos[1] + Pos[2] * Pos[2]) * 220.00);
}