[BUG] Public
#1

i need your help guys look i got this error i guess i added it in the correct place of stock's
check pic
Код:
stock PlayerToPoint(playerid,Float:radi, Float:px, Float:py, Float:pz)
{
    if(IsPlayerConnected(playerid))
	{
		new Float:x, Float:y, Float:z;
		new Float:ox, Float:oy, Float:oz;
		GetPlayerPos(playerid, ox, oy, oz);
		x = (ox -px);
		y = (oy -py);
		z = (oz -pz);
		if (((x < radi) && (x > -radi)) && ((y < radi) && (y > -radi)) && ((z < radi) && (z > -radi))) return 1;
	}
	return 0;
}
Reply


Messages In This Thread
[BUG] Public - by BigBaws - 16.12.2011, 12:47
Re: [BUG] Public - by MP2 - 16.12.2011, 12:48
Re : [BUG] Public - by BigBaws - 16.12.2011, 12:49
Re: [BUG] Public - by BlackWolf120 - 16.12.2011, 12:52
Re : [BUG] Public - by BigBaws - 16.12.2011, 12:54
Re : [BUG] Public - by BigBaws - 16.12.2011, 12:59
Re : [BUG] Public - by BigBaws - 16.12.2011, 13:04
Re: [BUG] Public - by BlackWolf120 - 16.12.2011, 13:34
Re : [BUG] Public - by BigBaws - 16.12.2011, 13:52
Re : [BUG] Public - by BigBaws - 16.12.2011, 19:38

Forum Jump:


Users browsing this thread: 4 Guest(s)