Weird compiling problem
#1

Whenever I compile my script, it gives me this.

Код:
:\Users\Fadel\Desktop\ARP-NGG\gamemodes\ARP.pwn(16919) : error 017: undefined symbol "distance"
C:\Users\Fadel\Desktop\ARP-NGG\gamemodes\ARP.pwn(16919) : warning 215: expression has no effect
C:\Users\Fadel\Desktop\ARP-NGG\gamemodes\ARP.pwn(16919) : error 001: expected token: ";", but found ")"
C:\Users\Fadel\Desktop\ARP-NGG\gamemodes\ARP.pwn(16919) : error 029: invalid expression, assumed zero
C:\Users\Fadel\Desktop\ARP-NGG\gamemodes\ARP.pwn(16919) : 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 16919:

pawn Код:
HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,30.0, .testlos = 1, .distance = 30.0);
4 damn errors come from a signle line. I'd appriciate it really good if you'd help me out!
Reply
#2

pawn Код:
HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,30.0,1,30.0);
Try that
Reply
#3

I actually don't fully remember it, but I used to solve this error by replacing
pawn Код:
.distance
with
pawn Код:
.streamdistance
It was something like that, not sure though.
Reply
#4

Quote:
Originally Posted by DobbysGamertag
Посмотреть сообщение
pawn Код:
HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,30.0,1,30.0);
Try that
Код:
C:\Users\Fadel\Desktop\ARP-NGG\gamemodes\ARP.pwn(16919) : warning 213: tag mismatch
C:\Users\Fadel\Desktop\ARP-NGG\gamemodes\ARP.pwn(21549) : warning 217: loose indentation
C:\Users\Fadel\Desktop\ARP-NGG\gamemodes\ARP.pwn(21667) : warning 217: loose indentation
C:\Users\Fadel\Desktop\ARP-NGG\gamemodes\ARP.pwn(52433) : error 017: undefined symbol "distance"
C:\Users\Fadel\Desktop\ARP-NGG\gamemodes\ARP.pwn(52433) : warning 215: expression has no effect
C:\Users\Fadel\Desktop\ARP-NGG\gamemodes\ARP.pwn(52433) : error 001: expected token: ";", but found ")"
C:\Users\Fadel\Desktop\ARP-NGG\gamemodes\ARP.pwn(52433) : error 029: invalid expression, assumed zero
C:\Users\Fadel\Desktop\ARP-NGG\gamemodes\ARP.pwn(52433) : fatal error 107: too many error messages on one line

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


4 Errors.
Reply
#5

Quote:
Originally Posted by Red_Dragon.
Посмотреть сообщение
I actually don't fully remember it, but I used to solve this error by replacing
pawn Код:
.distance
with
pawn Код:
.streamdistance
It was something like that, not sure though.
Thanks so much man! You helped me alot!
Reply
#6

But I get some warnings

Код:
C:\Users\Fadel\Desktop\ARP-NGG\gamemodes\ARP.pwn(21549) : warning 217: loose indentation
C:\Users\Fadel\Desktop\ARP-NGG\gamemodes\ARP.pwn(21667) : warning 217: loose indentation
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Warnings.
Reply
#7

Show us the lines. These warnings are simple to solve. You have a problem in indenting certain lines. Show us these lines.
Reply
#8

Nevermind, it is because of a mapping. It's an object. Thanks alot of everything man!
Reply
#9

Now what it says in server.exe

Script/gamemode:ARP.amx/ Run Time Error 19: " File or function not found "

It doesn't load the GM! What's wrong now? It loads the filterscripts but not the GM.
Reply
#10

Missing plugins. (streamer in this case, problably)

Make sure you added streamer.dll into your /plugins folder + added a line "plugins streamer" into your server.cfg
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)