08.02.2010, 20:38
i got this error i cant fix it can somebody help me?
Код:
error 017: undefined symbol "PlayerToPointStripped"
error 017: undefined symbol "PlayerToPointStripped"
CheckForWalkingTeleport(playerid); forward PlayerToPointStripped()
public PlayerToPointStripped(Float:radi, playerid, Float:x, Float:y, Float:z, Float:curx, Float:cury, Float:curz)
{
if(IsPlayerConnected(playerid))
{
new Float:tempposx, Float:tempposy, Float:tempposz;
tempposx = (curx -x);
tempposy = (cury -y);
tempposz = (curz -z);
if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi))) return 1;
}
return 0;
}