SA-MP Forums Archive
DOWNLOAD FOR morphin.inc??? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: DOWNLOAD FOR morphin.inc??? (/showthread.php?tid=90839)



DOWNLOAD FOR morphin.inc??? - wilcock33 - 10.08.2009

the title says it all, tried ****** and searching above but no results

pastebin or anything I REALLY NEED IT!

thanks guys


Re: DOWNLOAD FOR morphin.inc??? - Weirdosport - 10.08.2009

http://sampfiles.weebly.com/downloads.html

Can't have searched that hard - 30 seconds


Re: DOWNLOAD FOR morphin.inc??? - wilcock33 - 10.08.2009

dead link XD


Re: DOWNLOAD FOR morphin.inc??? - Weirdosport - 10.08.2009

Well it's not dead for me...

http://sampfiles.weebly.com/uploads/...1/morphinc.inc

Contains:

Код:
new pdistance = 1;
forward NameTimer();
Float:GetPointDistanceToPointExMorph(Float:x1,Float:y1,Float:z1,Float:x2,Float:y2,Float:z2)
{
new Float:x, Float:y, Float:z;
x = x1-x2;
y = y1-y2;
z = z1-z2;
return floatsqroot(x*x+y*y+z*z);
}
stock SetPDistance(dista)
{
pdistance = dista;
}
stock GetPDistance()
{
return pdistance;
}
stock EnableDistancedNameTag(delay)
{
SetTimer("NameTimer",delay,1);
}
forward NameTimer();
public NameTimer()
	{
	for(new i = 0;i < MAX_PLAYERS;i++)
 	{
 	if(IsPlayerConnected(i))
 	{
 	for(new q = 0;q < MAX_PLAYERS;q++)
 	{
	if(IsPlayerConnected(q))
	{
 	new Float:p1x;
	new Float:p1y;
	new Float:p1z;
	new Float:p2x;
	new Float:p2y;
	new Float:p2z;
	if(IsPlayerConnected(i) && IsPlayerConnected(q))
	{
	GetPlayerPos(i,p1x,p1y,p1z);
  GetPlayerPos(q,p2x,p2y,p2z);
	if(GetPointDistanceToPointExMorph(p1x,p1y,p1z,p2x,p2y,p2z) < pdistance)
		{
	  ShowPlayerNameTagForPlayer(i,q,1);
	  }
	else
		{
		ShowPlayerNameTagForPlayer(i,q,0);
		}
	}}}}}
}



Re: DOWNLOAD FOR morphin.inc??? - wilcock33 - 10.08.2009

kk thanks