[HELP] error 017: undefined symbol "MAX_STRING"
#1

Code:
C:\Users\KONT\KONT\KONT - 2016\gamemodes\KONT2016.pwn(13778) : error 017: undefined symbol "MAX_STRING"
C:\Users\KONT\KONT\KONT - 2016\gamemodes\KONT-2016.pwn(13778) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\KONT\KONT\KONT- 2016\gamemodes\KONT-2016.pwn(13778) : error 036: empty statement
C:\Users\KONT\KONT\KONT - 2016\gamemodes\KONT-2016.pwn(13778) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
4 Errors.


Code:
stock code(nickname[]) {
  new tmpb[MAX_STRING];
  set(tmpb,nickname);
  tmpb=strreplace("ğ","g",tmpb);
  tmpb=strreplace("Ğ","G",tmpb);
  tmpb=strreplace("ş","s",tmpb);
  tmpb=strreplace("Ş","S",tmpb);
  tmpb=strreplace("ı","i",tmpb);
  tmpb=strreplace("I","I",tmpb);
  tmpb=strreplace("İ","I",tmpb);
  tmpb=strreplace("ц","o",tmpb);
  tmpb=strreplace("Ц","O",tmpb);
  tmpb=strreplace("з","c",tmpb);
  tmpb=strreplace("З","C",tmpb);
  tmpb=strreplace("ь","u",tmpb);
  tmbp=strreplace("Ь","U",tmpb);
  return tmpb;
}
Reply


Messages In This Thread
[HELP] error 017: undefined symbol "MAX_STRING" - by KONTROWKEN - 15.06.2016, 10:01
Re: [HELP] error 017: undefined symbol "MAX_STRING" - by Sjn - 15.06.2016, 10:05
Re: [HELP] error 017: undefined symbol "MAX_STRING" - by Nin9r - 15.06.2016, 10:07
Re: [HELP] error 017: undefined symbol "MAX_STRING" - by KONTROWKEN - 15.06.2016, 11:03
Re: [HELP] error 017: undefined symbol "MAX_STRING" - by Dayrion - 15.06.2016, 11:24
Re: [HELP] error 017: undefined symbol "MAX_STRING" - by Stinged - 15.06.2016, 11:30

Forum Jump:


Users browsing this thread: 1 Guest(s)