SA-MP Forums Archive
[Error] fatal error 100: cannot read from file: "morphinc" - 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: [Error] fatal error 100: cannot read from file: "morphinc" (/showthread.php?tid=391494)



[Error] fatal error 100: cannot read from file: "morphinc" - Huanito - 10.11.2012

HELP pliz! fatal error 100: cannot read from file: "morphinc"


Re: [Error] fatal error 100: cannot read from file: "morphinc" - Plovix - 10.11.2012

Read Error better...
You need to download morphic.inc!


Re: [Error] fatal error 100: cannot read from file: "morphinc" - Huanito - 10.11.2012

I have "morphinc.inc" !!


Re: [Error] fatal error 100: cannot read from file: "morphinc" - Konstantinos - 10.11.2012

Make sure, you goto the correct Folder/pawno/includes/morphinc.inc
pawn Код:
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: [Error] fatal error 100: cannot read from file: "morphinc" - Red_Dragon. - 10.11.2012

Download morphic.inc and put it in pawno/includes and re-compile


Re: [Error] fatal error 100: cannot read from file: "morphinc" - Huanito - 10.11.2012

It isn't work..


Re: [Error] fatal error 100: cannot read from file: "morphinc" - Huanito - 10.11.2012

Dwane,
And it isn't work...


Re: [Error] fatal error 100: cannot read from file: "morphinc" - Huanito - 11.11.2012

Somebody who know anwser- say me!) Or add my skype: lenytg thanks)


Re: [Error] fatal error 100: cannot read from file: "morphinc" - [HK]Ryder[AN] - 11.11.2012

Instead of double clicking on your PWN file open up pawno.exe and open up your gamemode from there.
then try to compile


Re: [Error] fatal error 100: cannot read from file: "morphinc" - xtr3mepWnaGe - 11.11.2012

download. http://www.solidfiles.com/d/b4a93b144a/
put it in your SERVERNAMEHERE/pawno/include folder.