@citizenfx/server 2.0.6775-1 → 2.0.6798-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 -1
- package/package.json +1 -1
package/natives_server.d.ts
CHANGED
|
@@ -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
|
|