forked from Mezo/Claim-Vehicles
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathEXAMPLE_Config.cpp
64 lines (62 loc) · 1.66 KB
/
EXAMPLE_Config.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
// Add the override for ExileClient_object_vehicle_interaction_show to your CfgExileCustomCode.
class CfgExileCustomCode
{
ExileClient_object_vehicle_interaction_show = "Exile_Client_Overrides\ExileClient_object_vehicle_interaction_show.sqf";
};
// Add this in your CfgInteractionMenus.
class Tank
{
targetType = 2;
target = "Tank";
class Actions
{
class ClaimVehicle: ExileAbstractAction
{
title = "Claim Ownership";
condition = "call ExileClient_object_vehicle_interaction_show";
action = "call ExileClient_ClaimVehicles_network_claimRequestSend";
};
};
};
class Car
{
targetType = 2;
target = "Car";
class Actions
{
class ClaimVehicle: ExileAbstractAction
{
title = "Claim Ownership";
condition = "call ExileClient_object_vehicle_interaction_show";
action = "call ExileClient_ClaimVehicles_network_claimRequestSend";
};
};
};
class Air
{
targetType = 2;
target = "Air";
class Actions
{
class ClaimVehicle: ExileAbstractAction
{
title = "Claim Ownership";
condition = "call ExileClient_object_vehicle_interaction_show";
action = "call ExileClient_ClaimVehicles_network_claimRequestSend";
};
};
};
class Boat
{
targetType = 2;
target = "Boat";
class Actions
{
class ClaimVehicle: ExileAbstractAction
{
title = "Claim Ownership";
condition = "call ExileClient_object_vehicle_interaction_show";
action = "call ExileClient_ClaimVehicles_network_claimRequestSend";
};
};
};