Missing an Include or Plugin?
#1

I edited a script and it use to run fine. Then I deleted all my pawno files becuz i quit pawno but now I decided to come back and I downloaded a new pawno and got the old script i use to run. it had a few errors so i decided to download an ORIGINAL script.

I get these errors:
Code:
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(30) : error 017: undefined symbol "MAX_STRING"
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(30) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(246) : error 017: undefined symbol "MAX_STRING"
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(246) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(247) : error 017: undefined symbol "MAX_STRING"
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(247) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(248) : error 017: undefined symbol "MAX_STRING"
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(248) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(250) : error 017: undefined symbol "MAX_STRING"
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(250) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(617) : error 017: undefined symbol "MAX_STRING"
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(617) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(1197) : error 001: expected token: ";", but found "-identifier-"
AM i missing an include or plugin?
Reply
#2

pawn Code:
#define MAX_STRING 256
Reply
#3

maybe include but try on top(after include a_samp) #define MAX_STRING 256
Reply
#4

Code:
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(1197) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(1213) : error 017: undefined symbol "Score"
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(1214) : error 017: undefined symbol "Score"
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(1457) : error 017: undefined symbol "udb_encode"
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(1457) : error 033: array must be indexed (variable "udbName")
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(1464) : error 017: undefined symbol "Now"
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(1481) : error 047: array sizes do not match, or destination array is too small
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(1503) : error 017: undefined symbol "strtok"
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(1504) : error 017: undefined symbol "strtok"
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(1505) : error 017: undefined symbol "strtok"
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(1506) : error 017: undefined symbol "strtok"
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(1507) : error 017: undefined symbol "strtok"
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(1519) : error 017: undefined symbol "strtok"
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(1516) : warning 204: symbol is assigned a value that is never used: "idx"
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(2712) : error 017: undefined symbol "strtok"
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(2712) : error 033: array must be indexed (variable "tmp")
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(2711) : warning 203: symbol is never used: "Index"
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(2740) : error 017: undefined symbol "strtok"
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(2740) : error 033: array must be indexed (variable "Password")
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(2747) : error 017: undefined symbol "udb_hash"
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(2739) : warning 203: symbol is never used: "index"
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(2765) : error 017: undefined symbol "strtok"
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(2765) : error 033: array must be indexed (variable "Password")
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(2769) : error 017: undefined symbol "udb_hash"
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(2764) : warning 203: symbol is never used: "index"
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(2980) : error 017: undefined symbol "strtok"
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(2980) : error 033: array must be indexed (variable "tmp")
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(2980) : warning 203: symbol is never used: "Index"
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(3065) : error 017: undefined symbol "strtok"
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(3065) : error 033: array must be indexed (variable "tmp")
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(3065) : warning 203: symbol is never used: "Index"
C:\Users\Owner\Desktop\Pawno\gamemodes\new.pwn(3091) : error 017: undefined symbol "strtok"
?? Missing an include maybe?
Reply
#5

Look at the top of the script.
thi includes should be up there.
Just look for the name on ******.
Like: sscanf.inc etc.
Reply
#6

Still same errors..
Reply
#7

Then id suggest to make your own script.
and post the lines of the errors.
Reply
#8

Why dont you go line by line of the error and try to fix it yourself? and if you cant post a part of the code related with the line.

First of all read some documentation related with pawn.

I would like to know from where did you get that gammode.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)