[Tutorial] Using bit arrays in PAWN
#4

Try this:

pawn Код:
for(new playerid; playerid < MAX_PLAYERS; playerid++)
    {
        Library{playerid} = TextDrawCreate(301.000000, 300.000000, "Library~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~");
...
    }
You need to use curly braces, as opposed to square brackets, when accessing an index within a char array.
Reply


Messages In This Thread
Using bit arrays in PAWN - by Emmet_ - 24.01.2014, 16:02
Re: Using bit arrays in PAWN - by Patrick - 24.01.2014, 16:12
Re: Using bit arrays in PAWN - by ikey07 - 24.01.2014, 16:43
Re: Using bit arrays in PAWN - by Emmet_ - 24.01.2014, 16:47
Re: Using bit arrays in PAWN - by Patrick - 24.01.2014, 16:51
Re: Using bit arrays in PAWN - by ikey07 - 24.01.2014, 17:21
Re: Using bit arrays in PAWN - by RaeF - 03.05.2015, 02:52
Re: Using bit arrays in PAWN - by Vince - 03.05.2015, 09:43

Forum Jump:


Users browsing this thread: 1 Guest(s)