I am using Iban's City RP. I know that in preferences in the City RP folder there is a section with banned events. I was wondering how to add these events to the ones you can't use:
OnActivate - Minigame - (ChatMsgAll, BottomPrintAll, CenterPrintAll) - (Message here)
Preferences folder:
// ============================================================
// Section 9 : Banned Events
// ============================================================
// $CityRPG::bannedEvent[nameSpace, name] = true; results in ban
// Note: This system is archaic.
// AIPlayer
$CityRPG::bannedEvent["AIPlayer", "setPlayerScale"] = true;
// fxDTSBrick
$CityRPG::bannedEvent["fxDTSBrick", "spawnExplosion"] = true;
$CityRPG::bannedEvent["fxDTSBrick", "spawnProjectile"] = true;
// gameConnection
$CityRPG::bannedEvent["gameConnection", "bottomPrint"] = true;
$CityRPG::bannedEvent["gameConnection", "incScore"] = true;
$CityRPG::bannedEvent["gameConnection", "instantRespawn"] = true;
// Player
$CityRPG::bannedEvent["Player", "addHealth"] = true;
$CityRPG::bannedEvent["Player", "addVelocity"] = true;
$CityRPG::bannedEvent["Player", "changeDatablock"] = true;
$CityRPG::bannedEvent["Player", "clearTools"] = true;
$CityRPG::bannedEvent["Player", "kill"] = true;
$CityRPG::bannedEvent["Player", "setHealth"] = true;
$CityRPG::bannedEvent["Player", "setPlayerScale"] = true;
$CityRPG::bannedEvent["Player", "spawnExplosion"] = true;
$CityRPG::bannedEvent["Player", "spawnProjectile"] = true;
$CityRPG::bannedEvent["Player", "setVelocity"] = true;
I have tried these without any luck:
- $CityRPG::bannedEvent["Player", "ChatMsgAll"] = true;
- $CityRPG::bannedEvent["Minigame", "ChatMsgAll"] = true; (^Both under the "// Player" part^)
- // Minigame
$CityRPG::bannedEvent["Minigame", "ChatMsgAll"] = true; (For this, I tried making a new section called "Minigame" since there was a "Player" section)