[Error] fatal error 100: cannot read from file: "morphinc"
#1

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

Read Error better...
You need to download morphic.inc!
Reply
#3

I have "morphinc.inc" !!
Reply
#4

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);
                        }
                    }
                }
            }
        }
    }
}
Reply
#5

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

It isn't work..
Reply
#7

Dwane,
And it isn't work...
Reply
#8

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

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

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


Forum Jump:


Users browsing this thread: 3 Guest(s)