Comments (4)
I've created a solution to this.
As for
Currently if this function is enabled, all new roles will disappear or will not work properly.
This is due to how Tommy implements the ForceRole feature. Basically, he overwrites the SelectRoles() function to prevent people from being selected as Special roles (Traitor/Detective) if they have autoslays. This is done in an Initialize hook, meaning after the Gamemode (TTT2) is done loading. In other words, when SelectRoles() is called, it's calling Tommy's version which, obviously, doesn't include custom roles.
My solution requires you removing from this line down.
from ttt2.
from ttt2.
Так же это отключает возрождения шута и неизвестного. Если их убьют.
from ttt2.
Will be fixed with #116
from ttt2.
Related Issues (20)
- Non-stock weapons (such as TFA weapons) do not render their base viewmodels HOT 6
- Client-server desync for weapon `Kind` value when `Kind` is set in `TTT2Initialize` HOT 5
- API: timer.Create with a round-sensitive context
- [META] Repository structure and release process HOT 2
- PlaceableEntityBase: Movement with magneto stick possible HOT 16
- Shopping Items Cooldown HOT 1
- Investigate ply:Alive() HOT 10
- Feature Request: Reintroduce role avoidance locked behind server-side configuration HOT 4
- No karma on round end screen when karma is disabled
- Map prop/entity pickups not working HOT 3
- BUG: innocents can see detective's radio due to team affiliation HOT 3
- vfire-enabled explosions is not affected by explosion resistance HOT 3
- consolidate Color() calls HOT 4
- Option to edit voice chat range HOT 3
- bug: dead players that move to spectator cannot have their bodysearch info accessed HOT 5
- Edit equipment hierarchy doesn't work correctly HOT 3
- Better Flashlight / Third Person Flashlight HOT 5
- Proximity Voice Chat Enhancements HOT 10
- equipment editor ignores inheritance
- Scoreboard stuck, creating errors HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ttt2.