03.02.2013, 10:36
pawn Код:
stock GetPlayerpos(playerid,x,y,z)
{ //note the opening curly-bracket
GetPlayerPos(playerid,x,y,z);
GetPlayerPos(player2,x2,y2,z2);.
new Float:distance=floatsqroot((x-x2)*(x-x2)+(y-y2)*(y-y2)+(z-z2)*(z-z2));
} //...and the closing

