/me radius
#4

well never had that happen with a stock myself but maybe try moving

Код:
stock Float:GetDistanceBetweenPlayers(playerid, giveplayerid)
{
	new Float:x1,Float:y1,Float:z1,Float:x2,Float:y2,Float:z2;
	GetPlayerPos(playerid,x1,y1,z1);
	GetPlayerPos(giveplayerid,x2,y2,z2);
	return floatsqroot(floatpower(floatabs(floatsub(x2,x1)),2)+floatpower(floatabs(floatsub(y2,y1)),2)+floatpower(floatabs(floatsub(z2,z1)),2));
}
to the top of the script will fix the problem, better yet, make a new text file, paste the above into it, save the file as a .inc, and add the include line for the file to the top, if you dont understand that then just put it at the top

Good luck

regards orph
Reply


Messages In This Thread
/me radius - by Blt950 - 13.07.2008, 19:40
Re: /me radius - by Mentis - 13.07.2008, 19:57
Re: /me radius - by Blt950 - 13.07.2008, 20:00
Re: /me radius - by Orpheus - 13.07.2008, 21:15
Re: /me radius - by Blt950 - 14.07.2008, 08:44
Re: /me radius - by Mobster11 - 21.07.2009, 13:52

Forum Jump:


Users browsing this thread: 1 Guest(s)