@citizenfx/server 2.0.25528-1 → 2.0.25718-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/natives_server.d.ts +3 -9
- package/package.json +1 -1
package/natives_server.d.ts
CHANGED
|
@@ -2,9 +2,6 @@
|
|
|
2
2
|
* Adds a rectangular blip for the specified coordinates/area.
|
|
3
3
|
* It is recommended to use [SET_BLIP_ROTATION](#\_0xF87683CDF73C3F6E) and [SET_BLIP_COLOUR](#\_0x03D7FB09E75D6B7E) to make the blip not rotate along with the camera.
|
|
4
4
|
* By default, the blip will show as a *regular* blip with the specified color/sprite if it is outside of the minimap view.
|
|
5
|
-
* Example image:
|
|
6
|
-
* 
|
|
7
|
-
* 
|
|
8
5
|
* (Native name is *likely* to actually be ADD_BLIP_FOR_AREA, but due to the usual reasons this can't be confirmed)
|
|
9
6
|
* @param x The X coordinate of the center of the blip.
|
|
10
7
|
* @param y The Y coordinate of the center of the blip.
|
|
@@ -18,9 +15,6 @@ declare function AddBlipForArea(x: number, y: number, z: number, width: number,
|
|
|
18
15
|
* Adds a rectangular blip for the specified coordinates/area.
|
|
19
16
|
* It is recommended to use [SET_BLIP_ROTATION](#\_0xF87683CDF73C3F6E) and [SET_BLIP_COLOUR](#\_0x03D7FB09E75D6B7E) to make the blip not rotate along with the camera.
|
|
20
17
|
* By default, the blip will show as a *regular* blip with the specified color/sprite if it is outside of the minimap view.
|
|
21
|
-
* Example image:
|
|
22
|
-
* 
|
|
23
|
-
* 
|
|
24
18
|
* (Native name is *likely* to actually be ADD_BLIP_FOR_AREA, but due to the usual reasons this can't be confirmed)
|
|
25
19
|
* @param x The X coordinate of the center of the blip.
|
|
26
20
|
* @param y The Y coordinate of the center of the blip.
|
|
@@ -44,9 +38,9 @@ declare function AddBlipForCoord(x: number, y: number, z: number): number;
|
|
|
44
38
|
* Create a blip that by default is red (enemy), you can use [SET_BLIP_AS_FRIENDLY](#\_0xC6F43D0E) to make it blue (friend).\
|
|
45
39
|
* Can be used for objects, vehicles and peds.
|
|
46
40
|
* Example of enemy:
|
|
47
|
-
* 
|
|
48
42
|
* Example of friend:
|
|
49
|
-
* 
|
|
50
44
|
* @param entity The entity handle to create the blip.
|
|
51
45
|
* @return A blip handle.
|
|
52
46
|
*/
|
|
@@ -55,7 +49,7 @@ declare function AddBlipForEntity(entity: number): number;
|
|
|
55
49
|
/**
|
|
56
50
|
* Create a blip with a radius for the specified coordinates (it doesnt create the blip sprite, so you need to use [AddBlipCoords](#\_0xC6F43D0E))
|
|
57
51
|
* Example image:
|
|
58
|
-
* 
|
|
59
53
|
* @param posX The x position of the blip (you can also send a vector3 instead of the bulk coordinates)
|
|
60
54
|
* @param posY The y position of the blip (you can also send a vector3 instead of the bulk coordinates)
|
|
61
55
|
* @param posZ The z position of the blip (you can also send a vector3 instead of the bulk coordinates)
|