samp error
#1

:\Documents and Settings\SisasPoiss\My Documents\Downloads\LSRM.pwn(43856) : warning 235: public function lacks forward declaration (symbol "NameTimer")
C:\Documents and Settings\SisasPoiss\My Documents\Downloads\LSRM.pwn(43876) : error 017: undefined symbol "GetPointDistanceToPointExMorph"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


Код:
stock strvalEx( const string[] ) // fix for strval-bug with > 50 letters.
{
	// written by mabako in less than a minute :X
	if( strlen( string ) >= 50 ) return 0; // It will just return 0 if the string is too long
	return strval(string);
}

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)
						{
							if(PlayerInfo[q][pMaskuse] != 1)
	  					{
								ShowPlayerNameTagForPlayer(i,q,1);
							}
	  				}
						else
						{
							ShowPlayerNameTagForPlayer(i,q,0);
						}
          }
        }
      }
    }
	}
}



public CheckCarHealth()
{
  new string[256];
Reply


Messages In This Thread
samp error - by SisasPoiss - 23.06.2010, 19:00
Re: samp error - by DJDhan - 23.06.2010, 19:07
Re: samp error - by SisasPoiss - 23.06.2010, 19:18
Re: samp error - by CJ101 - 23.06.2010, 19:27
Re: samp error - by DJDhan - 23.06.2010, 19:27
Re: samp error - by SisasPoiss - 23.06.2010, 19:30
Re: samp error - by WackoX - 23.06.2010, 19:35
Re: samp error - by DJDhan - 23.06.2010, 19:54
Re: samp error - by SisasPoiss - 24.06.2010, 06:12
Re: samp error - by (SF)Noobanatior - 24.06.2010, 06:58

Forum Jump:


Users browsing this thread: 1 Guest(s)