25.10.2012, 18:54
Hello,
I get 3 warnings when trying to save a string to a variable.
Lines 805-807
My variables
My enum
Any help would be appreciated. Thanks.
I get 3 warnings when trying to save a string to a variable.
Код:
(805) : warning 229: index tag mismatch (symbol "MisLocations") (806) : warning 229: index tag mismatch (symbol "MisLocations") (807) : warning 229: index tag mismatch (symbol "MisLocations")
PHP код:
Load[playerid] = MisLocations[MisRand][Loading];
FromLocation[playerid] = MisLocations[MisRand][From];
ToLocation[playerid] = MisLocations[MisRand][To];
PHP код:
new Load[MAX_PLAYERS][124];
new FromLocation[MAX_PLAYERS][124];
new ToLocation[MAX_PLAYERS][124];
PHP код:
enum MisLocationsEnum
{
IsTrailer,
Trailer,
Loading[124],
From[124],
To[124],
Float:LoadX,
Float:LoadY,
Float:LoadZ,
Float:UnloadX,
Float:UnloadY,
Float:UnloadZ,
Pay
}