#1

I get these errors
Код:
C:\Users\Ghost\Desktop\Pawn Studio\pawno\include\dutils.inc(363) : warning 219: local variable "offset" shadows a variable at a preceding level
C:\Users\Ghost\Desktop\Pawn Studio\pawno\include\dutils.inc(364) : warning 219: local variable "result" shadows a variable at a preceding level
C:\Users\Ghost\Desktop\urp2.pwn(14941) : error 021: symbol already defined: "strtok"
C:\Users\Ghost\Desktop\urp2.pwn(14941) : error 003: declaration of a local variable must appear in a compound block
C:\Users\Ghost\Desktop\urp2.pwn(14939) : error 010: invalid function or declaration
C:\Users\Ghost\Desktop\urp2.pwn(14939 -- 14942) : fatal error 107: too many error messages on one line
LineS:

pawn Код:
strtok(const string[], &index)

    new length = strlen(string);
    while ((index < length) && (string[index] <= ' '))
Reply
#2

pawn Код:
C:\Users\Ghost\Desktop\Pawn Studio\pawno\include\dutils.inc(363) : warning 219: local variable "offset" shadows a variable at a preceding level
C:\Users\Ghost\Desktop\Pawn Studio\pawno\include\dutils.inc(364) : warning 219: local variable "result" shadows a variable at a preceding level
Change the name to Variable.

pawn Код:
C:\Users\Ghost\Desktop\urp2.pwn(14941) : error 021: symbol already defined: "strtok"
Remove the stock strtok.
Reply
#3

So just remove the Stock of strtok?
Reply
#4

Yes, You have already defined the strtok, then remove and try to compile
Reply
#5

Код:
C:\Users\Ghost\Desktop\usrp3.pwn(15977) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ghost\Desktop\usrp3.pwn(16016) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ghost\Desktop\usrp3.pwn(16023) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ghost\Desktop\usrp3.pwn(16096) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ghost\Desktop\usrp3.pwn(16241) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ghost\Desktop\usrp3.pwn(16271) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ghost\Desktop\usrp3.pwn(16301) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ghost\Desktop\usrp3.pwn(16419) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ghost\Desktop\usrp3.pwn(16604) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ghost\Desktop\usrp3.pwn(16613) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ghost\Desktop\usrp3.pwn(16641) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ghost\Desktop\usrp3.pwn(16665) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ghost\Desktop\usrp3.pwn(17812) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ghost\Desktop\usrp3.pwn(18163) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ghost\Desktop\usrp3.pwn(18172) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ghost\Desktop\usrp3.pwn(18241) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ghost\Desktop\usrp3.pwn(18250) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ghost\Desktop\usrp3.pwn(18394) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ghost\Desktop\usrp3.pwn(18432) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ghost\Desktop\usrp3.pwn(18478) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ghost\Desktop\usrp3.pwn(18668) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ghost\Desktop\usrp3.pwn(18733) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ghost\Desktop\usrp3.pwn(18741) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ghost\Desktop\usrp3.pwn(18795) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ghost\Desktop\usrp3.pwn(18834) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ghost\Desktop\usrp3.pwn(18873) : error 047: array sizes do not match, or destination array is too small

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
Reply
#6

where have you put this in your script? and explain what it does, fi you dont know what it does find it out and you might learn it someday
Reply
#7

I removed the stock and all them lines have strtok
Reply
#8

Use zcmd, and sscanf.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)