Skip to content

Commit

Permalink
remove setClothes & setProp / we're using our own impl
Browse files Browse the repository at this point in the history
  • Loading branch information
ksenonadv committed Jul 5, 2022
1 parent 4569c45 commit e2ae0a7
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions packages/server/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -767,17 +767,6 @@ declare class PlayerMp extends EntityMp {
*/
public removeWeapon(weaponHash: HashOrNumberOrString<RageEnums.Hashes.Weapon>): void;

/**
* Sets clothing for player.
*
* Alternative of client-side function: [Player::setComponentVariation](https://wiki.rage.mp/index.php?title=Player::setComponentVariation)
*
* @param component ClothesComponent
* @param drawable Number
* @param texture Texture
* @param palette Palette
*/
public setClothes(component: RageEnums.ClothesComponent | number, drawable: number, texture: number, palette: number): void;

/**
* Sets player customization (NB: This resets your weapons also).
Expand Down Expand Up @@ -848,11 +837,6 @@ declare class PlayerMp extends EntityMp {
*/
public setHeadOverlay(overlay: RageEnums.HeadOverlay | number, value: Array4d): void;

/**
* Sets the prop for the player
*/
public setProp(prop: RageEnums.PlayerProp | number, drawable: number, texture: number): void;

/**
* Sets the amount of ammo for the selected weapon
*
Expand Down

0 comments on commit e2ae0a7

Please sign in to comment.