Another help but don't ignore this too :'t (+REP)
#1

hi i have those errors in a filter script So what i must do? i have mapandreas.inc and it's defined but now i got those messages, what i must do? please help me
Код:
C:\Users\infogenie\Desktop\Zombies VS Humans V1.1\pawno\include\mapandreas.inc(3) : warning 201: redefinition of constant/macro (symbol "MAP_ANDREAS_MODE_FULL")
C:\Users\infogenie\Desktop\Zombies VS Humans V1.1\pawno\include\mapandreas.inc(5) : error 021: symbol already defined: "MapAndreas_Init"
C:\Users\infogenie\Desktop\Zombies VS Humans V1.1\pawno\include\mapandreas.inc(6) : error 021: symbol already defined: "MapAndreas_FindZ_For2DCoord"
Reply
#2

Use this .inc

http://pastebin.com/EWrfVDgb
Reply
#3

Diego. You mean i have old version? i must download the latest one from that link?
Reply
#4

Quote:
Originally Posted by MarkNelson
Посмотреть сообщение
Diego. You mean i have old version? i must download the latest one from that link?
You can download here: https://sampforum.blast.hk/showthread.php?tid=275492
Reply
#5

thanks.
Reply
#6

Код:
C:\Users\infogenie\Desktop\Zombies VS Humans V1.1\pawno\include\mapandreas.inc(17) : error 021: symbol already defined: "MapAndreas_Init"
C:\Users\infogenie\Desktop\Zombies VS Humans V1.1\pawno\include\mapandreas.inc(18) : error 021: symbol already defined: "MapAndreas_FindZ_For2DCoord"
C:\Users\infogenie\Desktop\Zombies VS Humans V1.1\pawno\include\mapandreas.inc(19) : error 021: symbol already defined: "MapAndreas_FindAverageZ"
C:\Users\infogenie\Desktop\Zombies VS Humans V1.1\pawno\include\mapandreas.inc(20) : error 021: symbol already defined: "MapAndreas_Unload"
C:\Users\infogenie\Desktop\Zombies VS Humans V1.1\pawno\include\mapandreas.inc(21) : error 021: symbol already defined: "MapAndreas_SetZ_For2DCoord"
C:\Users\infogenie\Desktop\Zombies VS Humans V1.1\pawno\include\mapandreas.inc(22) : error 021: symbol already defined: "MapAndreas_SaveCurrentHMap"
look now
Reply
#7

Try editing mapandreas.inc to this:

Код:
// MapAndreas 1.2.1
// 20.7.2014
// Originally created by Kalcor, updated by Mauzen and Pamdex

#define MAP_ANDREAS_MODE_NONE			0
#define MAP_ANDREAS_MODE_MINIMAL		1
#define MAP_ANDREAS_MODE_MEDIUM			2	// currently unused
#define MAP_ANDREAS_MODE_FULL			3
#define MAP_ANDREAS_MODE_NOBUFFER		4

#define MAP_ANDREAS_ERROR_SUCCESS		0
#define MAP_ANDREAS_ERROR_FAILURE		1
#define MAP_ANDREAS_ERROR_MEMORY		2
#define MAP_ANDREAS_ERROR_DATA_FILES	3
#define MAP_ANDREAS_ERROR_INVALID_AREA	4
Reply
#8

now look
Код:
error 013: no entry point (no public functions)
this happend to me after editing it and when i attempted to compile
Reply
#9

Quote:
Originally Posted by MarkNelson
Посмотреть сообщение
now look
Код:
error 013: no entry point (no public functions)
this happend to me after editing it and when i attempted to compile
Don't compile .inc only edit and save, then compile gamemode.
Reply
#10

Quote:
Originally Posted by MarkNelson
Посмотреть сообщение
now look
Код:
error 013: no entry point (no public functions)
this happend to me after editing it and when i attempted to compile
Now, you don't compile includes, neither do you replace them by defines.
He meant edit the defines to the following he gave.
Keep in mind that includes are .inc and not .amx, and tbh. They shouldn't even be possible to compile.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)