20.12.2009, 20:04
Hey everyone, when i try to compile, it goes wrong and shows me this stuff
: error 021: symbol already defined: "NameTimer"
Plus 23 errors.
Morphinc
new pdistance = 1;
forward NameTimer();
Float:GetPointDistanceToPointExMorph(Float
1,Floa t:y1,Float:z1,Float
2,Float:y2,Float:z2)
{
new Float
, 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();
--------------
Reallly need help please! Thanks.
: error 021: symbol already defined: "NameTimer"
Plus 23 errors.
Morphinc
new pdistance = 1;
forward NameTimer();
Float:GetPointDistanceToPointExMorph(Float
![angry](images/smilies/mad.gif)
![angry](images/smilies/mad.gif)
{
new Float
![angry](images/smilies/mad.gif)
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();
--------------
Reallly need help please! Thanks.