Help With Stocks
#1

Does anyone know the stock related to this function?

GetPlayerDistanceToPointEx
Reply
#2

Do you mean this ?

pawn Код:
stock GetPlayerDistanceToPointEx(playerid,Float:x,Float:y,Float:z) {
    new Float:x1,Float:y1,Float:z1;
    new Float:dis;
    GetPlayerPos(playerid,x1,y1,z1);
    dis = floatsqroot((x-x1)*(x-x1)+(y-y1)*(y-y1)+(z-z1)*(z-z1));
    return floatround(dis);
}
Reply
#3

Where did you find it :O
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)