26.02.2012, 15:14
Hey guys ! Can someone help me with these errors and warnings ? Thanks.
Errors :
Errors Line :
Warnings Lines:
Thanks.
Errors :
pawn Код:
C:\Users\Win7\Desktop\Stunt King Romania 0.3d\Server\gamemodes\SKR.pwn(201) : error 017: undefined symbol "V_ENUM_DATA"
C:\Users\Win7\Desktop\Stunt King Romania 0.3d\Server\gamemodes\SKR.pwn(201) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\Win7\Desktop\Stunt King Romania 0.3d\Server\gamemodes\SKR.pwn(22977) : warning 213: tag mismatch
C:\Users\Win7\Desktop\Stunt King Romania 0.3d\Server\gamemodes\SKR.pwn(22978) : warning 213: tag mismatch
C:\Users\Win7\Desktop\Stunt King Romania 0.3d\Server\gamemodes\SKR.pwn(22979) : warning 213: tag mismatch
C:\Users\Win7\Desktop\Stunt King Romania 0.3d\Server\gamemodes\SKR.pwn(22980) : warning 213: tag mismatch
C:\Users\Win7\Desktop\Stunt King Romania 0.3d\Server\gamemodes\SKR.pwn(22981) : warning 213: tag mismatch
C:\Users\Win7\Desktop\Stunt King Romania 0.3d\Server\gamemodes\SKR.pwn(22982) : warning 213: tag mismatch
C:\Users\Win7\Desktop\Stunt King Romania 0.3d\Server\gamemodes\SKR.pwn(22983) : warning 213: tag mismatch
pawn Код:
new vehcount = 0; // This is the line.
new VehicleInfo[9999][V_ENUM_DATA];
enum V_ENUM_DATA
{
model, Float:x_spawn,
Float:y_spawn, Float:z_spawn,
Float:za_spawn, color_1,
color_2, spawned,
idnum,
};
pawn Код:
stock AddStreamingVehicle(modelid,Float:x,Float:y,Float:z,Float:a,col1,col2)
{
vehcount++;
VehicleInfo[vehcount][model] = modelid; // Line 22977.
VehicleInfo[vehcount][x_spawn] = x; // Line 22978.
VehicleInfo[vehcount][y_spawn] = y; // Line 22979.
VehicleInfo[vehcount][z_spawn] = z; // Line 22980
VehicleInfo[vehcount][za_spawn] = a; // Line 22981.
VehicleInfo[vehcount][color_1] = col1; // Line 22982.
VehicleInfo[vehcount][color_2] = col2; // Line 22983.
return 1;
}
