Clothes item type - allows changing skin via an item.
Simply install to your project:
sampctl package install ScavengeSurvive/itemtype-clothes
Include in your code and begin using the library:
#include <itemtype-clothes>
Set which item is the clothes item with DefineItemTypeClothes
.
Define clothes types with DefineClothesType
.
Pick up a clothes item and hold the interact key to change.
To test, simply run the package:
sampctl package run
And connect to localhost:7777
and try out the clothes items in front of you.