[Help] Indexing arrays?
#6

Quote:
Originally Posted by Cuecumber
Donny is right, you aren't indexing them properly, and it is most likely due to the fact that you don't actually give an index at all.

Use this instead:
pawn Код:
cmd[0] = strtok(cmdtext, idx); // This tells the compiler to place the returned string into the first (and following) cell(s) of your 'cmd' array.
Hopefully this helps,

~Cueball~
I got it to work.. Thanks, still a few things don't work. But i Will get them
Reply


Messages In This Thread
[Help] Indexing arrays? - by Ace_Menace - 29.05.2009, 23:06
Re: [Help] Indexing arrays? - by Donny_k - 29.05.2009, 23:18
Re: [Help] Indexing arrays? - by Ace_Menace - 29.05.2009, 23:24
Re: [Help] Indexing arrays? - by Donny_k - 29.05.2009, 23:42
Re: [Help] Indexing arrays? - by Cueball - 30.05.2009, 00:27
Re: [Help] Indexing arrays? - by Ace_Menace - 30.05.2009, 16:03

Forum Jump:


Users browsing this thread: 1 Guest(s)