Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Commit

Permalink
Disable all cross script communication
Browse files Browse the repository at this point in the history
For current CitizenFX-based mods to not crash.
  • Loading branch information
ikt32 committed Jul 15, 2016
1 parent ef01463 commit 1b53476
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Gears/script.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ void update() {
toggleManual();
}

crossScriptComms();
//crossScriptComms();

if (settings.Debug) {
showDebugInfo();
Expand Down Expand Up @@ -1066,6 +1066,7 @@ void resetWheelFeedback(int index) {
LogiStopSoftstopForce(index);
}

/*
void crossScriptComms() {
// Other scripts. 0 = nothing, 1 = Shift up, 2 = Shift down
if (vehData.CurrGear < vehData.NextGear || truckShiftUp) {
Expand All @@ -1085,3 +1086,4 @@ void crossScriptComms() {
DECORATOR::DECOR_SET_INT(vehicle, "hunt_weapon", 0);
}
}
*/

0 comments on commit 1b53476

Please sign in to comment.