Gm error
#1

Hi when i compile my gm it says : fatal error 100: cannot read from file: "Foreach" plz help i dont wanna ruin my 41k line
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=92679

You need to put the 'foreach' include in your includes folder. And I assume by the time that you scripted 41k lines of code, you would understand how to fix a simple issue like this.
Reply
#3

no i have it in my includes but it say still same error
Reply
#4

is it in your include folder

or

pawn Код:
#include <Foreach>
?
Reply
#5

Follow these steps

1). Compile your script - Then close the script
2). Go to your pawno folder then open pawno.exe - Then close pawno.exe
3). Open script again then compile and it should work
4) ENJOY!!

:P
Reply
#6

Make sure its in "server/pawno/include/..." and not in "server/include/..."
Reply
#7

Thanks guys i fixed but i got errors about the /Irc i am not good at fix it i need help
Reply
#8

What /irc? If you don't give any information about the error, then how could we give you a solution?
Reply
#9

C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\pawno\include\dutils.inc(202) : warning 209: function "SetPlayerMoney" should return a value
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\Rop.pwn(4492) : error 021: symbol already defined: "SetPlayerMoney"
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\Rop.pwn(732 : error 025: function heading differs from prototype
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\Rop.pwn(7329) : error 021: symbol already defined: "strtok"
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\Rop.pwn(7344) : error 047: array sizes do not match, or destination array is too small
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\Rop.pwn(807 : error 047: array sizes do not match, or destination array is too small
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\Rop.pwn(8121) : error 047: array sizes do not match, or destination array is too small
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\Rop.pwn(8343) : error 047: array sizes do not match, or destination array is too small
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\Rop.pwn(8352) : error 047: array sizes do not match, or destination array is too small
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\Rop.pwn(8369) : error 047: array sizes do not match, or destination array is too small
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\Rop.pwn(838 : error 047: array sizes do not match, or destination array is too small
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\Rop.pwn(8445) : error 047: array sizes do not match, or destination array is too small
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\Rop.pwn(8460) : error 047: array sizes do not match, or destination array is too small
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\Rop.pwn(8479) : error 047: array sizes do not match, or destination array is too small
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\Rop.pwn(8514) : error 047: array sizes do not match, or destination array is too small
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\Rop.pwn(8549) : error 047: array sizes do not match, or destination array is too small
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\Rop.pwn(8631) : error 047: array sizes do not match, or destination array is too small
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\Rop.pwn(8729) : error 047: array sizes do not match, or destination array is too small
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\Rop.pwn(8785) : error 047: array sizes do not match, or destination array is too small
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\Rop.pwn(8792) : error 047: array sizes do not match, or destination array is too small
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\Rop.pwn(8890) : error 047: array sizes do not match, or destination array is too small
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\Rop.pwn(8983) : error 047: array sizes do not match, or destination array is too small
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\Rop.pwn(9114) : error 047: array sizes do not match, or destination array is too small
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\Rop.pwn(9232) : error 047: array sizes do not match, or destination array is too small
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\Rop.pwn(9397) : error 047: array sizes do not match, or destination array is too small
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\Rop.pwn(9416) : error 047: array sizes do not match, or destination array is too small
C:\Program Files (x86)\Rockstar Games\GTA San Andreas\Server\gamemodes\Rop.pwn(9792) : error 047: array sizes do not match, or destination array is too small

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


26 Errors.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)