Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×
  • 0

Question

Posted

am o eroare la gm si nush ce sa fac:| ma ajutati va rog mult

C:\Documents and Settings\RaZoR\Desktop\samp03\gamemodes\Rzone.pwn(14) : fatal error 100: cannot read from file: "morphinc"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


1 Error.

3 answers to this question

Recommended Posts

Posted

Vezi daca ai morphinc.inc in Include, daca nu ai uite aici:

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);

}

}}}}}

}

stats.php?page=2&ip=samp.zonek.ro&port=7777
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.