12.05.2014, 13:55
Anyone can help me to fix this problem....
I want to make Toys Vehicle with Text...
And got some problem error....
I get this error on that line...
How to fix that?
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];
pawn Код:
D:\NE3CF9~1\GAMEMO~1\Untitled.pwn(170) : error 001: expected token: "}", but found "["