Skip to content

Commit

Permalink
Add version requirements for new functions
Browse files Browse the repository at this point in the history
  • Loading branch information
ccw808 committed Sep 13, 2019
1 parent e538aef commit 2013c1f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Server/mods/deathmatch/logic/CResourceChecker.Data.h
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,20 @@ namespace
{"guiFocus", "1.5.6-9.16361"},
{"getPedFightingStyle", "1.5.6-9.16362"},
{"onClientElementModelChange", "1.5.6-9.16404"},
{"setPedFightingStyle", "1.5.7-9.20157"},
{"setPedArmor", "1.5.7-9.20157"},
{"areVehicleLightsOn", "1.5.7-9.20157"},
{"dxDrawPrimitive3D", "1.5.7-9.20157"},
{"dxDrawMaterialPrimitive3D", "1.5.7-9.20157"},
{"engineGetModelPhysicalPropertiesGroup", "1.5.7-9.20157"},
{"engineSetModelPhysicalPropertiesGroup", "1.5.7-9.20157"},
{"engineRestoreModelPhysicalPropertiesGroup", "1.5.7-9.20157"},
{"engineSetObjectGroupPhysicalProperty", "1.5.7-9.20157"},
{"engineGetObjectGroupPhysicalProperty", "1.5.7-9.20157"},
{"engineRestoreObjectGroupPhysicalProperties", "1.5.7-9.20157"},
{"engineRequestModel", "1.5.7-9.20157"},
{"engineFreeModel", "1.5.7-9.20157"},
{"xmlLoadString", "1.5.7-9.20157"},
};

SVersionItem serverFunctionInitList[] = {
Expand Down Expand Up @@ -272,6 +286,9 @@ namespace
{"setPedWearingJetpack", "1.5.5-9.13846"},
{"setElementAngularVelocity", "1.5.5-9.14060"},
{"getElementAngularVelocity", "1.5.5-9.14060"},
{"xmlLoadString", "1.5.7-9.20157"},
{"getPlayerScriptDebugLevel", "1.5.7-9.20157"},
{"setPlayerScriptDebugLevel", "1.5.7-9.20157"},
};

//
Expand Down

0 comments on commit 2013c1f

Please sign in to comment.