A little help with gps
#1

Hey guys how can i do it ?

How to get coordinates from the player to a certain point and show it in the table

maybe with this one ?

stock GetDistance( Float1, Float:y1, Float:z1, Float2, Float:y2, Float:z2 )
{
return floatround( floatsqroot( ( ( x1 - x2 ) * ( x1 - x2 ) ) + ( ( y1 - y2 ) * ( y1 - y2 ) ) + ( ( z1 - z2 ) * ( z1 - z2 ) ) ) ) );
}

https://imgur.com/a/Mf6sFRV
Reply
#2

GetPlayerDistanceFromPoint is a default function for that
Reply
#3

oh ty dude
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)