SA-MP Forums Archive
need help with errors - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: need help with errors (/showthread.php?tid=302565)



need help with errors - scottygraham1990 - 09.12.2011

hi there i am getting errors on my game mode soon as i put a admin system into my game mode here are the error

Quote:

C:\Users\Joe\Desktop\new samp\pawno\include\dutils.inc(2 : error 021: symbol already defined: "isNumeric"
C:\Users\Joe\Desktop\new samp\pawno\include\dutils.inc(379) : error 025: function heading differs from prototype
C:\Users\Joe\Desktop\new samp\pawno\include\dutils.inc(380) : error 021: symbol already defined: "strtok"
C:\Users\Joe\Desktop\new samp\pawno\include\dutils.inc(395) : error 047: array sizes do not match, or destination array is too small
C:\Users\Joe\Desktop\new samp\gamemodes\dvdrift.pwn(190) : warning 201: redefinition of constant/macro (symbol "COLOR_BLUE")
C:\Users\Joe\Desktop\new samp\gamemodes\dvdrift.pwn(192) : warning 201: redefinition of constant/macro (symbol "COLOR_BLACK")
C:\Users\Joe\Desktop\new samp\gamemodes\dvdrift.pwn(564) : warning 219: local variable "pName" shadows a variable at a preceding level
C:\Users\Joe\Desktop\new samp\gamemodes\dvdrift.pwn(613) : error 021: symbol already defined: "string"
C:\Users\Joe\Desktop\new samp\gamemodes\dvdrift.pwn(816) : warning 219: local variable "pName" shadows a variable at a preceding level
C:\Users\Joe\Desktop\new samp\gamemodes\dvdrift.pwn(901) : error 010: invalid function or declaration
C:\Users\Joe\Desktop\new samp\gamemodes\dvdrift.pwn(795 : error 010: invalid function or declaration
C:\Users\Joe\Desktop\new samp\gamemodes\dvdrift.pwn(9765) : error 004: function "S@@_OnFilterScriptExit" is not implemented
C:\Users\Joe\Desktop\new samp\gamemodes\dvdrift.pwn(12334) : error 021: symbol already defined: "SetTimer"
C:\Users\Joe\Desktop\new samp\gamemodes\dvdrift.pwn(1233 : error 021: symbol already defined: "AddPlayerClass"
C:\Users\Joe\Desktop\new samp\gamemodes\dvdrift.pwn(12397) : error 021: symbol already defined: "SetGameModeText"
C:\Users\Joe\Desktop\new samp\gamemodes\dvdrift.pwn(1292 : error 010: invalid function or declaration
C:\Users\Joe\Desktop\new samp\gamemodes\dvdrift.pwn(12931) : error 010: invalid function or declaration
C:\Users\Joe\Desktop\new samp\gamemodes\dvdrift.pwn(12936) : error 010: invalid function or declaration
C:\Users\Joe\Desktop\new samp\gamemodes\dvdrift.pwn(12941) : error 010: invalid function or declaration
C:\Users\Joe\Desktop\new samp\gamemodes\dvdrift.pwn(12947) : error 010: invalid function or declaration
C:\Users\Joe\Desktop\new samp\gamemodes\dvdrift.pwn(12953) : error 021: symbol already defined: "printf"
C:\Users\Joe\Desktop\new samp\gamemodes\dvdrift.pwn(12956) : error 010: invalid function or declaration
C:\Users\Joe\Desktop\new samp\gamemodes\dvdrift.pwn(12962) : error 010: invalid function or declaration
C:\Users\Joe\Desktop\new samp\gamemodes\dvdrift.pwn(13643) : error 021: symbol already defined: "S@@_OnPlayerKeyStateChange"
C:\Users\Joe\Desktop\new samp\gamemodes\dvdrift.pwn(13656) : error 021: symbol already defined: "S@@_OnDialogResponse"
C:\Users\Joe\Desktop\new samp\gamemodes\dvdrift.pwn(13799) : warning 203: symbol is never used: "total_vehicles_from_files"




Re: need help with errors - Thresholdold - 09.12.2011

I think you have missed a closing bracket somewhere in your script... just double check. ( } )


Re: need help with errors - Kostas' - 09.12.2011

First of all show us your code if you don't mind. Else if we will not be able to help you.
However some symbols already defined.


Re: need help with errors - scottygraham1990 - 09.12.2011

Quote:
Originally Posted by Kostas'
Посмотреть сообщение
First of all show us your code if you don't mind. Else if we will not be able to help you.
However some symbols already defined.
i will just upload the game mode


Re: need help with errors - scottygraham1990 - 09.12.2011

there is alot of code

im am useing luxadmin system


Re: need help with errors - scottygraham1990 - 09.12.2011

can you see how i can fix it?


Re: need help with errors - Kostas' - 09.12.2011

Why do you use dcmd + zcmd at the same gamemode?


Re: need help with errors - scottygraham1990 - 09.12.2011

Quote:
Originally Posted by Kostas'
Посмотреть сообщение
Why do you use dcmd + zcmd at the same gamemode?
i fink the admin uses one and my game mode uses the other


Re: need help with errors - Kostas' - 09.12.2011

As I saw, you have commands with ZCMD , dcmd and strcmp. You should use only one command processor.


Re: need help with errors - scottygraham1990 - 09.12.2011

Quote:
Originally Posted by Kostas'
Посмотреть сообщение
As I saw, you have commands with ZCMD , dcmd and strcmp. You should use only one command processor.
ok witch one is best to use