Undefined Symbol Distance
#1

Why am I receiving those errors?
Код HTML:
C:\Users\Mighty\Desktop\samp03x_svr_R1-2_win32\pawno\include\../include/g_mysql.inc(428) : warning 235: public function lacks forward declaration (symbol "OnQueryError")
C:\Users\Mighty\Desktop\samp03x_svr_R1-2_win32\gamemodes\NGG.pwn(16378) : error 017: undefined symbol "distance"
C:\Users\Mighty\Desktop\samp03x_svr_R1-2_win32\gamemodes\NGG.pwn(16378) : warning 215: expression has no effect
C:\Users\Mighty\Desktop\samp03x_svr_R1-2_win32\gamemodes\NGG.pwn(16378) : error 001: expected token: ";", but found ")"
C:\Users\Mighty\Desktop\samp03x_svr_R1-2_win32\gamemodes\NGG.pwn(16378) : error 029: invalid expression, assumed zero
C:\Users\Mighty\Desktop\samp03x_svr_R1-2_win32\gamemodes\NGG.pwn(16378) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Line:
PHP код:
HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStrCOLOR_GREENHouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,10.0, .testlos 1, .distance 30.0); 
Reply
#2

Try this:
I removed the words there.
pawn Код:
HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,10.0,1,30.0);
Edit:

Usually a "lacks forward declaration" is fixed by doing
pawn Код:
forward Something();
So in your case,go to the include, and add this:
pawn Код:
forward OnQueryError();
It sounds like SQL. So i may be wrong on the above statement.
Reply
#3

I tell you what
First CTRL+H then copy and paste the below line
pawn Код:
.distance
Then replace it with below line (REPLACE ALL)
pawn Код:
.streamdistance
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)