error 017: undefined symbol "string"
#1

Hello i have a Problem with this Errors,i hope you can Help me
Quote:

C:\Users\Lukas\Desktop\AUDIO_TS\TgR.pwn(3900) : error 017: undefined symbol "string"
C:\Users\Lukas\Desktop\AUDIO_TS\TgR.pwn(3901) : error 017: undefined symbol "string"
C:\Users\Lukas\Desktop\AUDIO_TS\TgR.pwn(3901) : error 017: undefined symbol "string"
C:\Users\Lukas\Desktop\AUDIO_TS\TgR.pwn(3901) : error 029: invalid expression, assumed zero
C:\Users\Lukas\Desktop\AUDIO_TS\TgR.pwn(3901) : fatal error 107: too many error messages on one line

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


5 Errors.

Quote:

3899 strsplit(plrIP, array, '.');
3900 format(string,50,"%d.%d",array[0],array[1]);
3901 format(string, sizeof(string), "/RangeBan/%s.ini", string);
3902 if(dini_Exists(string))

Reply
#2

Try to put this at the top of script?

pawn Код:
new string[128];
Reply
#3

Post in English or post in your language in the language section.

You did not defined string.
Add:
pawn Код:
new string[128];
in your code above
pawn Код:
format(string,50,"%d.%d",array[0],array[1]);
Reply
#4

Quote:

Hallo ich habe was Gescriptet aber es kommen diese errors,kann mir jemand Helfen
Quote: C:\Users\Lukas\Desktop\AUDIO_TS\TgR.pwn(3900) : error 017: undefined symbol "string"
C:\Users\Lukas\Desktop\AUDIO_TS\TgR.pwn(3901) : error 017: undefined symbol "string"
C:\Users\Lukas\Desktop\AUDIO_TS\TgR.pwn(3901) : error 017: undefined symbol "string"
C:\Users\Lukas\Desktop\AUDIO_TS\TgR.pwn(3901) : error 029: invalid expression, assumed zero
C:\Users\Lukas\Desktop\AUDIO_TS\TgR.pwn(3901) : fatal error 107: too many error messages on one line

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


5 Errors.

Das sind die Zeilen wo der/die Error/s angezeigt werden
Quote: 3899 strsplit(plrIP, array, '.');
3900 format(string,50,"%d.%d",array[0],array[1]);
3901 format(string, sizeof(string), "/RangeBan/%s.ini", string);
3902 if(dini_Exists(string))

Hoffe ihr kцnnt mir Helfen.

Post in English, you can post in your language in your own language forums, if available. Secondly, you need to create a variable named string before using it inside any function like this
pawn Код:
new string[75];
Reply
#5

Ok Thanks I post this in my language
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)