how to convert this..
#1

like how do i make this return

metres.milimetres

and kilometers. meters

and if kilometers = more than one use the second format( kilometers.metres) and if its less than 1 = 0 do the first format

pawn Код:
stock Float:GetPlayerDistanceToPoint(playerid, Float:x, Float:y, Float:z)
{
    new Float:pX, Float:pY, Float:pZ;
    GetPlayerPos(playerid, pX, pY, pZ);
    pX -= x, pY -= y, pZ -= z;
    return floatsqroot( (pX * pX) + (pY * pY) + (pZ * pZ) );
}
Reply


Messages In This Thread
how to convert this.. - by The_Gangstas - 19.11.2010, 21:54

Forum Jump:


Users browsing this thread: 1 Guest(s)