Start offloading veh buy logic to clientside
This commit is contained in:
@@ -1076,3 +1076,9 @@ function updateAllInteriorVehiclesForPlayer(client, interior, dimension) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
|
||||||
|
function setPlayerBuyingVehicleState(state, vehicle, position) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
// ===========================================================================
|
||||||
@@ -82,3 +82,10 @@ const VRR_GAMESCRIPT_NONE = 0;
|
|||||||
const VRR_GAMESCRIPT_DENY = 1;
|
const VRR_GAMESCRIPT_DENY = 1;
|
||||||
const VRR_GAMESCRIPT_ALLOW = 2;
|
const VRR_GAMESCRIPT_ALLOW = 2;
|
||||||
const VRR_GAMESCRIPT_FORCE = 3;
|
const VRR_GAMESCRIPT_FORCE = 3;
|
||||||
|
|
||||||
|
// Vehicle Purchase States
|
||||||
|
const VRR_VEHBUYSTATE_NONE = 0;
|
||||||
|
const VRR_VEHBUYSTATE_TESTDRIVE = 1;
|
||||||
|
const VRR_VEHBUYSTATE_EXITVEH = 2;
|
||||||
|
const VRR_VEHBUYSTATE_FARENOUGH = 3;
|
||||||
|
const VRR_VEHBUYSTATE_WRONGVEH = 4;
|
||||||
Reference in New Issue
Block a user