a big problems
#1

Код:
stock trcar(car[]) {
  new tmp[MAX_STRING];   938
  set(tmp,car);
  tmp=strreplace("[","(",tmp);
  tmp=strreplace("]",")",tmp);
  return tmp;
}
Код:
C:\Documents and Settings\user\Desktop\LarryDM\gamemodes\dmrace.pwn(938) : error 017: undefined symbol "MAX_STRING"
C:\Documents and Settings\user\Desktop\LarryDM\gamemodes\dmrace.pwn(938) : error 009: invalid array size (negative, zero or out of bounds)
C:\Documents and Settings\user\Desktop\LarryDM\gamemodes\dmrace.pwn(938) : error 036: empty statement
C:\Documents and Settings\user\Desktop\LarryDM\gamemodes\dmrace.pwn(938) : fatal error 107: too many error messages on one line
Reply
#2

Just replace MAX_STRING with 256
Reply
#3

or #define MAX_STRING Number Of Strings You Use
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)