stock problem
#2

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
Reply


Messages In This Thread
stock problem - by pelani - 03.02.2013, 10:23
Re: stock problem - by u3ber - 03.02.2013, 10:36
Re: stock problem - by pelani - 03.02.2013, 10:43

Forum Jump:


Users browsing this thread: 1 Guest(s)