Tag mismatch [SOLVED]
#4

It didnt work. But you gave me the idea to try it with Public.
pawn Код:
forward Float:PlayerDistanceToPoint(playerid,Float:x,Float:y,Float:z);
public Float:PlayerDistanceToPoint(playerid,Float:x,Float:y,Float:z)
{
  new Float:px,Float:py,Float:pz;
  GetPlayerPos(playerid,px,py,pz);
    return floatsqroot ( ( (x-px)*(x-px) ) + ( (y-py)*(y-py) ) + ( (z-pz)*(z-pz) ) );
}
This is working. Problem SOLVED.
Reply


Messages In This Thread
Tag mismatch [SOLVED] - by Dark_Kostas - 16.01.2010, 22:18
Re: Tag mismatch - by Backwardsman97 - 16.01.2010, 22:40
Re: Tag mismatch - by GTAguillaume - 16.01.2010, 22:43
Re: Tag mismatch - by Dark_Kostas - 17.01.2010, 09:18

Forum Jump:


Users browsing this thread: 2 Guest(s)