@citizenfx/server 2.0.6775-1 → 2.0.6821-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 +5 -3
- package/package.json +1 -1
package/natives_server.d.ts
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
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
5
|
* Example image:
|
|
6
|
-
* 
|
|
7
|
+
* 
|
|
8
8
|
* (Native name is *likely* to actually be ADD_BLIP_FOR_AREA, but due to the usual reasons this can't be confirmed)
|
|
9
9
|
* @param x The X coordinate of the center of the blip.
|
|
10
10
|
* @param y The Y coordinate of the center of the blip.
|
|
@@ -876,7 +876,9 @@ declare function GetPlayerMeleeWeaponDamageModifier(playerId: string): number;
|
|
|
876
876
|
declare function GetPlayerName(playerSrc: string): string;
|
|
877
877
|
|
|
878
878
|
/**
|
|
879
|
-
*
|
|
879
|
+
* Used to get the player's Ped Entity ID when a valid `playerSrc` is passed.
|
|
880
|
+
* @param playerSrc The player source, passed as a string.
|
|
881
|
+
* @return Returns a valid Ped Entity ID if the passed `playerSrc` is valid, `0` if not.
|
|
880
882
|
*/
|
|
881
883
|
declare function GetPlayerPed(playerSrc: string): number;
|
|
882
884
|
|