Help error 001: expected token
#1

Anyone can help me to fix this problem....

I want to make Toys Vehicle with Text...
And got some problem error....

pawn Код:
enum pvInfo
{
    pvToy[MAX_OBJECTS_PER_PLAYER],
    pvToyID[MAX_OBJECTS_PER_PLAYER],
    Float:pvToyPosX[MAX_OBJECTS_PER_PLAYER],
    Float:pvToyPosY[MAX_OBJECTS_PER_PLAYER],
    Float:pvToyPosZ[MAX_OBJECTS_PER_PLAYER],
    Float:pvToyRotX[MAX_OBJECTS_PER_PLAYER],
    Float:pvToyRotY[MAX_OBJECTS_PER_PLAYER],
    Float:pvToyRotZ[MAX_OBJECTS_PER_PLAYER],
    pvToyColor[MAX_OBJECTS_PER_PLAYER],
    pvToyIndex[MAX_OBJECTS_PER_PLAYER],
    pvToyText[MAX_OBJECTS_PER_PLAYER][128], //This line error (170) i want to make this string enum
    pvToyTextCol[MAX_OBJECTS_PER_PLAYER],
    pvToyTextSize[MAX_OBJECTS_PER_PLAYER],
};
new PlayerVehicleInfo[MAX_PLAYERS+1][MAX_PLAYERVEHICLES][pvInfo];
I get this error on that line...

pawn Код:
D:\NE3CF9~1\GAMEMO~1\Untitled.pwn(170) : error 001: expected token: "}", but found "["
How to fix that?
Reply


Messages In This Thread
Help error 001: expected token - by qmnty - 12.05.2014, 13:55
Re: Help error 001: expected token - by Parallex - 12.05.2014, 13:57
Re: Help error 001: expected token - by qmnty - 12.05.2014, 13:58
Re: Help error 001: expected token - by SAMProductions - 12.05.2014, 14:02
Re: Help error 001: expected token - by lulo356 - 12.05.2014, 14:03
Re: Help error 001: expected token - by qmnty - 12.05.2014, 14:05
Re: Help error 001: expected token - by lulo356 - 12.05.2014, 14:13
Re: Help error 001: expected token - by ball - 12.05.2014, 14:18
Re: Help error 001: expected token - by qmnty - 12.05.2014, 14:30
Re: Help error 001: expected token - by ball - 12.05.2014, 14:35

Forum Jump:


Users browsing this thread: 4 Guest(s)