Author Topic: Bricks.cs syntax error  (Read 702 times)

Code: [Select]
>>> Some error context, with ## on sides of error halt:
^category = "CityRPG";

^subCategory = "CityRPG Infoblocks";

^

^uiName = "Permaspawn Brick";



^CityRPGBrickAdmin = true;

^CityRPGPermaspawn = 1;

};



datablock fxDTSBrickData(CityRPGPoliceVehicleData : brickVehicleSpawnData)

{

    category = "CityRPG;
##
##^CityRPGBrickAdmin = true;

};



DoorSO.addDoorTypeFromFile("Add-Ons/GameMode_CityRPG/bricks/doors/unbreakable.cs");

doorBrickUnbreakable.unbreakable = true;

doorBrickUnbreakable.CityRPGBrickAdmin = true;



// ============================================================
>>> Error report complete.

Yeah, I'm of the people still loving with this old mod.

it should be

category = "CityRPG";

not

category = "CityRPG;
:P

Oh god I cant believe I missed that. Gotta look harder next time.

Also,

How the forget does that happen? It happened after I coded, and I only have one file of it in Add-ons. I do not know what I got done coding when this happened.

... have you rebooted blockland recently?
did you do setModPaths(getmodpaths());?