set player position in diffrents positions
#1

i am building a race system.
and i need to know how to put the players in diffrents positions??
Reply
#2

Use SetPlayerPos.
Reply
#3

Do you mean grid positions ?
Reply
#4

yes but if i will use SetPlayerPos
all the players that join to race will be in the same positions
i need distance between the players
Reply
#5

pawn Код:
stock GetDistance( Float:x1, Float:y1, Float:z1, Float:x2, Float:y2, Float:z2 )
{
    return floatround( floatsqroot( ( ( x1 - x2 ) * ( x1 - x2 ) ) + ( ( y1 - y2 ) * ( y1 - y2 ) ) + ( ( z1 - z2 ) * ( z1 - z2 ) ) ) ) );
}
Reply
#6

tnx man!! you are pro!!
but how i use that in command ??
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)