CocaColaBear / types-ragemp-c

Rage:MP TypeScript type definition for Client-side
https://rage.mp/
MIT License
53 stars 60 forks source link

fix: Added setHeadOverlay method for PedMp #68

Closed theusersimons closed 3 years ago

theusersimons commented 3 years ago

I suggest for peds to reassign the definition of the types of the setHeadOverlay method, since there is a separate note in the documentation https://wiki.rage.mp/index.php?title=Player::setHeadOverlay specifically for using this method on peds. If you ignore it and continue to use it as a player, the client crashes.

изображение

ynhhoJ commented 3 years ago

56

But it was for 0.3.7 and brach wasn't merged here

theusersimons commented 3 years ago

56

But it was for 0.3.7 and brach wasn't merged here

Thank you. Maybe in this case it makes sense to merge all the current fixes from the master to 1.1 branch? In any case, 1.1 should become a master in the future.