need help with errors
#1

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"

Reply
#2

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

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.
Reply
#4

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
Reply
#5

there is alot of code

im am useing luxadmin system
Reply
#6

can you see how i can fix it?
Reply
#7

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

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
Reply
#9

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

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)