[HELP] Errors compiling a script -
GeorgeHQ - 19.08.2014
Hello, I am kinda new to SA-MP and I wanted to make a server and when I try to compile a .pwn gamemode I get these errors:
Код:
C:\Users\D&G\Desktop\Descktop\GM Indungi\pawno\gm.pwn(364) : error 029: invalid expression, assumed zero
C:\Users\D&G\Desktop\Descktop\GM Indungi\pawno\gm.pwn(454) : warning 202: number of arguments does not match definition
C:\Users\D&G\Desktop\Descktop\GM Indungi\pawno\gm.pwn(476) : error 017: undefined symbol "SetDynamicObjectMaterialText"
C:\Users\D&G\Desktop\Descktop\GM Indungi\pawno\gm.pwn(495) : error 017: undefined symbol "CreateDynamicObjectEx"
C:\Users\D&G\Desktop\Descktop\GM Indungi\pawno\gm.pwn(496) : error 017: undefined symbol "CreateDynamicObjectEx"
C:\Users\D&G\Desktop\Descktop\GM Indungi\pawno\gm.pwn(497) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\D&G\Desktop\Descktop\GM Indungi\pawno\gm.pwn(498) : error 017: undefined symbol "CreateDynamicObjectEx"
C:\Users\D&G\Desktop\Descktop\GM Indungi\pawno\gm.pwn(499) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\D&G\Desktop\Descktop\GM Indungi\pawno\gm.pwn(500) : error 017: undefined symbol "CreateDynamicObjectEx"
C:\Users\D&G\Desktop\Descktop\GM Indungi\pawno\gm.pwn(501) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\D&G\Desktop\Descktop\GM Indungi\pawno\gm.pwn(502) : error 017: undefined symbol "CreateDynamicObjectEx"
C:\Users\D&G\Desktop\Descktop\GM Indungi\pawno\gm.pwn(503) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\D&G\Desktop\Descktop\GM Indungi\pawno\gm.pwn(505) : error 017: undefined symbol "CreateDynamicObjectEx"
C:\Users\D&G\Desktop\Descktop\GM Indungi\pawno\gm.pwn(506) : error 017: undefined symbol "SetDynamicObjectMaterialText"
C:\Users\D&G\Desktop\Descktop\GM Indungi\pawno\gm.pwn(507) : error 017: undefined symbol "CreateDynamicObjectEx"
C:\Users\D&G\Desktop\Descktop\GM Indungi\pawno\gm.pwn(508) : error 017: undefined symbol "SetDynamicObjectMaterialText"
C:\Users\D&G\Desktop\Descktop\GM Indungi\pawno\gm.pwn(509) : error 017: undefined symbol "SetDynamicObjectMaterialText"
C:\Users\D&G\Desktop\Descktop\GM Indungi\pawno\gm.pwn(510) : error 017: undefined symbol "CreateDynamicObjectEx"
C:\Users\D&G\Desktop\Descktop\GM Indungi\pawno\gm.pwn(511) : error 017: undefined symbol "SetDynamicObjectMaterialText"
C:\Users\D&G\Desktop\Descktop\GM Indungi\pawno\gm.pwn(512) : error 017: undefined symbol "SetDynamicObjectMaterialText"
C:\Users\D&G\Desktop\Descktop\GM Indungi\pawno\include\nfsw\center_and_club.txt(258) : error 017: undefined symbol "Streamer_SetArrayData"
C:\Users\D&G\Desktop\Descktop\GM Indungi\pawno\include\nfsw\center_and_club.txt(272) : error 017: undefined symbol "SetDynamicObjectMaterialText"
C:\Users\D&G\Desktop\Descktop\GM Indungi\pawno\include\nfsw\center_and_club.txt(277) : error 017: undefined symbol "SetDynamicObjectMaterialText"
C:\Users\D&G\Desktop\Descktop\GM Indungi\pawno\include\nfsw\center_and_club.txt(280) : error 017: undefined symbol "SetDynamicObjectMaterialText"
C:\Users\D&G\Desktop\Descktop\GM Indungi\pawno\include\nfsw\center_and_club.txt(281) : error 017: undefined symbol "CreateDynamicCircleEx"
C:\Users\D&G\Desktop\Descktop\GM Indungi\pawno\include\nfsw\center_and_club.txt(282) : error 017: undefined symbol "CreateDynamicCircleEx"
C:\Users\D&G\Desktop\Descktop\GM Indungi\pawno\include\nfsw\center_and_club.txt(283) : error 017: undefined symbol "CreateDynamicCircleEx"
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
26 Errors.
Can someone tell me what to do please?
Re: [HELP] Errors compiling a script -
Gogorakis - 19.08.2014
Wrong Section. This section is about your server's problem.
Here:
http://forum.sa-mp.com/forumdisplay.php?f=12 is everything about scripting , errors etc.
Btw, You have to install Streamer plugin and include..
Here:
https://sampforum.blast.hk/showthread.php?tid=102865
Also, The last errors (258-283) is about your include..This is not basiclly an include. This is a .txt file.
Re : [HELP] Errors compiling a script -
www - 20.08.2014
You need to install Streamer plugin and Streamer Pawno include.
You can download it from here :
https://sampforum.blast.hk/showthread.php?tid=102865
Re: [HELP] Errors compiling a script -
nickdodd25 - 20.08.2014
Your missing a { or } somewhere in your script. From personal experience i get similar errors when i miss a bracket somewhere in my mode.
If you cant find it take a look around in the tools section there is a few programs that look for missing brackets.
Re: [HELP] Errors compiling a script -
Marsss - 21.08.2014
GeorgeHQ
This is You must conclude it in the first line that Blue colour
This is Saying Undefined !
#define SetDynamicObjectMaterialText
#define CreateDynamicObjectEx
#define CreateDynamicObjectEx
#define SetDynamicObjectMaterial
#define CreateDynamicObjectEx
#define SetDynamicObjectMaterial
#define CreateDynamicObjectEx
#define SetDynamicObjectMaterial
#define CreateDynamicObjectEx
#define SetDynamicObjectMaterial
#define CreateDynamicObjectEx
#define SetDynamicObjectMaterialText
#define CreateDynamicObjectEx
#define SetDynamicObjectMaterialText
#define SetDynamicObjectMaterialText
#define SetDynamicObjectMaterialText
#define SetDynamicObjectMaterialText
#define Streamer_SetArrayData
#define SetDynamicObjectMaterialText
#define CreateDynamicCircleEx
#define CreateDynamicCircleEx
#define CreateDynamicCircleEx
I think This is Problem
Please REP Me...
Re: [HELP] Errors compiling a script -
GeorgeHQ - 28.08.2014
Thank you Mars, it helped
But I got a problem with another gamemode and I get the folowing errors:
C:\Users\D&G\Desktop\nfsw.pwn(364) : error 029: invalid expression, assumed zero
C:\Users\D&G\Desktop\nfsw.pwn(454) : warning 202: number of arguments does not match definition
C:\Users\D&G\Desktop\nfsw.pwn(461) : error 017: undefined symbol "CheckSet"
C:\Users\D&G\Desktop\nfsw.pwn(462) : error 017: undefined symbol "CheckSet"
C:\Users\D&G\Desktop\nfsw.pwn(463) : error 017: undefined symbol "CheckSet"
C:\Users\D&G\Desktop\nfsw.pwn(464) : error 017: undefined symbol "SetMaxPing"
C:\Users\D&G\Desktop\nfsw.pwn(465) : error 017: undefined symbol "SetWeaponAllowed"
C:\Users\D&G\Desktop\nfsw.pwn(466) : error 017: undefined symbol "AntiCheatSetUpdateDelay"
C:\Users\D&G\Desktop\nfsw.pwn(476) : error 017: undefined symbol "SetDynamicObjectMaterialText"
C:\Users\D&G\Desktop\nfsw.pwn(495) : error 017: undefined symbol "CreateDynamicObjectEx"
C:\Users\D&G\Desktop\nfsw.pwn(496) : error 017: undefined symbol "CreateDynamicObjectEx"
C:\Users\D&G\Desktop\nfsw.pwn(497) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\D&G\Desktop\nfsw.pwn(49

: error 017: undefined symbol "CreateDynamicObjectEx"
C:\Users\D&G\Desktop\nfsw.pwn(499) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\D&G\Desktop\nfsw.pwn(500) : error 017: undefined symbol "CreateDynamicObjectEx"
C:\Users\D&G\Desktop\nfsw.pwn(501) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\D&G\Desktop\nfsw.pwn(502) : error 017: undefined symbol "CreateDynamicObjectEx"
C:\Users\D&G\Desktop\nfsw.pwn(503) : error 017: undefined symbol "SetDynamicObjectMaterial"
C:\Users\D&G\Desktop\nfsw.pwn(505) : error 017: undefined symbol "CreateDynamicObjectEx"
C:\Users\D&G\Desktop\nfsw.pwn(506) : error 017: undefined symbol "SetDynamicObjectMaterialText"
C:\Users\D&G\Desktop\nfsw.pwn(507) : error 017: undefined symbol "CreateDynamicObjectEx"
C:\Users\D&G\Desktop\nfsw.pwn(50

: error 017: undefined symbol "SetDynamicObjectMaterialText"
C:\Users\D&G\Desktop\nfsw.pwn(509) : error 017: undefined symbol "SetDynamicObjectMaterialText"
C:\Users\D&G\Desktop\nfsw.pwn(510) : error 017: undefined symbol "CreateDynamicObjectEx"
C:\Users\D&G\Desktop\nfsw.pwn(511) : error 017: undefined symbol "SetDynamicObjectMaterialText"
C:\Users\D&G\Desktop\nfsw.pwn(512) : error 017: undefined symbol "SetDynamicObjectMaterialText"
C:\Users\D&G\Desktop\pawno\include\nfsw\center_and _club.txt(25

: error 017: undefined symbol "Streamer_SetArrayData"
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
26 Errors.
Re: [HELP] Errors compiling a script -
SlimDkhili - 29.08.2014
update your a_samp and streamer includes in includes files and pawno folder
Re: [HELP] Errors compiling a script -
God'Z War - 29.08.2014
update you streamer to latest version
click here to download latest version:
https://github.com/samp-incognito/sa...ugin-2.7.3.zip
then upload its include and plugin, then recompile script
Re: [HELP] Errors compiling a script -
GeorgeHQ - 31.08.2014
Same thing :P
C:\Users\D&G\Desktop\samp03z_svr_R1_win32\pawno\in clude\streamer.inc(167) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_256x128"
C:\Users\D&G\Desktop\samp03z_svr_R1_win32\pawno\nf sw.pwn(364) : error 029: invalid expression, assumed zero
C:\Users\D&G\Desktop\samp03z_svr_R1_win32\pawno\nf sw.pwn(454) : warning 202: number of arguments does not match definition
C:\Users\D&G\Desktop\samp03z_svr_R1_win32\pawno\nf sw.pwn(461) : error 017: undefined symbol "CheckSet"
C:\Users\D&G\Desktop\samp03z_svr_R1_win32\pawno\nf sw.pwn(462) : error 017: undefined symbol "CheckSet"
C:\Users\D&G\Desktop\samp03z_svr_R1_win32\pawno\nf sw.pwn(463) : error 017: undefined symbol "CheckSet"
C:\Users\D&G\Desktop\samp03z_svr_R1_win32\pawno\nf sw.pwn(464) : error 017: undefined symbol "SetMaxPing"
C:\Users\D&G\Desktop\samp03z_svr_R1_win32\pawno\nf sw.pwn(465) : error 017: undefined symbol "SetWeaponAllowed"
C:\Users\D&G\Desktop\samp03z_svr_R1_win32\pawno\nf sw.pwn(466) : error 017: undefined symbol "AntiCheatSetUpdateDelay"
C:\Users\D&G\Desktop\samp03z_svr_R1_win32\pawno\nf sw.pwn(476) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_64x64"
C:\Users\D&G\Desktop\samp03z_svr_R1_win32\pawno\nf sw.pwn(506) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_32x32"
C:\Users\D&G\Desktop\samp03z_svr_R1_win32\pawno\nf sw.pwn(50

: error 017: undefined symbol "OBJECT_MATERIAL_SIZE_32x32"
C:\Users\D&G\Desktop\samp03z_svr_R1_win32\pawno\nf sw.pwn(509) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_32x32"
C:\Users\D&G\Desktop\samp03z_svr_R1_win32\pawno\nf sw.pwn(511) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_32x32"
C:\Users\D&G\Desktop\samp03z_svr_R1_win32\pawno\nf sw.pwn(512) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_32x32"
C:\Users\D&G\Desktop\samp03z_svr_R1_win32\pawno\in clude\nfsw\center_and_club.txt(272) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_256x128"
C:\Users\D&G\Desktop\samp03z_svr_R1_win32\pawno\in clude\nfsw\center_and_club.txt(277) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_256x128"
C:\Users\D&G\Desktop\samp03z_svr_R1_win32\pawno\in clude\nfsw\center_and_club.txt(280) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_256x128"
C:\Users\D&G\Desktop\samp03z_svr_R1_win32\pawno\in clude\nfsw\heights_and_paradise.txt(6) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_256x128"
C:\Users\D&G\Desktop\samp03z_svr_R1_win32\pawno\in clude\nfsw\heights_and_paradise.txt(319) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_256x128"
C:\Users\D&G\Desktop\samp03z_svr_R1_win32\pawno\in clude\nfsw\heights_and_paradise.txt(324) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_256x128"
C:\Users\D&G\Desktop\samp03z_svr_R1_win32\pawno\in clude\nfsw\garcia_and_flats.txt(236) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_256x128"
C:\Users\D&G\Desktop\samp03z_svr_R1_win32\pawno\in clude\nfsw\garcia_and_flats.txt(241) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_256x128"
C:\Users\D&G\Desktop\samp03z_svr_R1_win32\pawno\in clude\nfsw\verona_heights.txt(295) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_256x128"
C:\Users\D&G\Desktop\samp03z_svr_R1_win32\pawno\in clude\nfsw\verona_heights.txt(300) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_256x128"
C:\Users\D&G\Desktop\samp03z_svr_R1_win32\pawno\in clude\nfsw\global_textdraws.txt(102) : error 017: undefined symbol "TextDrawSetSelectable"
C:\Users\D&G\Desktop\samp03z_svr_R1_win32\pawno\in clude\nfsw\global_textdraws.txt(115) : error 017: undefined symbol "TextDrawSetSelectable"
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
26 Errors.
Re: [HELP] Errors compiling a script -
God'Z War - 31.08.2014
Which samp version your using ?