strings
#1

Hello ,
I have a problem with strings, for example I'm making a command /car [engine]
so I made a new string
pawn Код:
new enginestr[12];
then
pawn Код:
if (enginestr == "engine")
{
//code
}
I get this error
Код:
array must be indexed (variable "enginestr")
Reply


Messages In This Thread
strings - by Sarra - 03.08.2014, 17:17
Re: strings - by sammp - 03.08.2014, 17:19
Re: strings - by Sarra - 03.08.2014, 17:24
Re: strings - by sammp - 03.08.2014, 18:10
Re: strings - by Stanford - 03.08.2014, 18:13
Re: strings - by Sarra - 03.08.2014, 18:15
Re: strings - by sammp - 03.08.2014, 23:23

Forum Jump:


Users browsing this thread: 1 Guest(s)