SA-MP Forums Archive
#include<morphic> question - 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)
+--- Thread: #include<morphic> question (/showthread.php?tid=423365)



#include<morphic> question - cotyzor - 17.03.2013

morphic.inc:

pawn Код:
new pdistance = 1;
stock SetPDistance(dista)
{
pdistance = dista;
}
stock GetPDistance()
{
return pdistance;
}
And in my friend's gamemode I found

pawn Код:
SetPDistance(10);
What does SetPDistance function ?


Re: #include<morphic> question - kamzaf - 17.03.2013

https://code.******.com/p/samp-open-...rphinc.inc?r=3

taking a look at that im thinking its about getting the distance between 2 points and this basically tells the server to show the name tags for players within 10 distance from it.?? something like that.