Skip to content

Commit 2f4e3bb

Browse files
committed
add Ped/Object for GetClosest
1 parent aa965f0 commit 2f4e3bb

File tree

1 file changed

+23
-16
lines changed

1 file changed

+23
-16
lines changed

api/AltV.Net/Data/EntityType.cs

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ public enum EntityType
77
{
88
Player = 1,
99
Vehicle = 2,
10+
Ped = 4,
11+
Object = 8,
1012
// Disable current not supported types
1113
/*
12-
Ped = 4,
13-
NetworkObject = 8,
1414
Blip = 16,
1515
Webview = 32,
1616
VoiceChannel = 64,
@@ -19,19 +19,26 @@ public enum EntityType
1919
WebsocketClient = 512,
2020
HttpClient = 1024,
2121
Audio = 2048,
22-
RmlElement = 4096,
23-
RmlDocument = 8192,
24-
LocalPlayer = 16384,
25-
Object = 32768,
26-
VirtualEntity = 65536,
27-
VirtualEntityGroup = 131072,
28-
Marker = 262144,
29-
TextLabel = 524288,
30-
LocalPed = 1048576,
31-
LocalVehicle = 2097152,
32-
AudioFilter = 4194304,
33-
ConnectionInfo = 8388608,
34-
Size = 16777216,
35-
Undefined = 33554432,
22+
AudioOutput = 4096,
23+
AudioOutputWorld = 8192,
24+
AudioOutputAttached = 16384,
25+
AudioOutputFrontend = 32768,
26+
RmlElement = 65536,
27+
RmlDocument = 131072,
28+
LocalPlayer = 262144,
29+
LocalObject = 524288,
30+
VirtualEntity = 1048576,
31+
VirtualEntityGroup = 2097152,
32+
Marker = 4194304,
33+
TextLabel = 8388608,
34+
LocalPed = 16777216,
35+
LocalVehicle = 33554432,
36+
AudioFilter = 67108864,
37+
ConnectionInfo = 134217728,
38+
CustomTexture = 268435456,
39+
Font = 536870912,
40+
Size = 1073741824,
41+
Undefined = -2147483648,
3642
*/
43+
3744
}

0 commit comments

Comments
 (0)