an array with strings.
#1

okay, heres what i want.

i have a array
Код:
new arr[15][128];
so that means i have 15 strings with 128 string size.
but when i use a format on it:
Код:
format(str[3],sizeof(str[3]),"i want this to be in slot 3");
it gives me a few errors:
Код:
C:\Documents and Settings\Administrator\Mijn documenten\samp server\server\filterscripts\cctv.pwn(36) : error 001: expected token: "]", but found "-identifier-"
C:\Documents and Settings\Administrator\Mijn documenten\samp server\server\filterscripts\cctv.pwn(36) : warning 215: expression has no effect
C:\Documents and Settings\Administrator\Mijn documenten\samp server\server\filterscripts\cctv.pwn(36) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Administrator\Mijn documenten\samp server\server\filterscripts\cctv.pwn(36) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Mijn documenten\samp server\server\filterscripts\cctv.pwn(36) : fatal error 107: too many error messages on one line
help me please..
Reply


Messages In This Thread
an array with strings. - by legodude - 17.01.2011, 17:41
Re: an array with strings. - by WillyP - 17.01.2011, 17:46
Re: an array with strings. - by Toreno - 17.01.2011, 17:50
Re: an array with strings. - by legodude - 17.01.2011, 17:52
Re: an array with strings. - by Alex_Valde - 17.01.2011, 17:57
Re: an array with strings. - by legodude - 17.01.2011, 18:04
Re: an array with strings. - by Alex_Valde - 17.01.2011, 18:06
Re: an array with strings. - by Stylock - 17.01.2011, 18:12

Forum Jump:


Users browsing this thread: 2 Guest(s)