Library★ 1updated Jan 2019MITPawnsampctl
Open on GitHubInstall with sampctl
sampctl package install Open-GTO/skinselect
Run this in your project folder. sampctl downloads the package and what it depends on.
Try it in the Pawn compiler →
Adds its include files, with the libraries it depends on, to the Pawn compiler in your browser, ready to include in a script.
Depends on 1 package
- sampctl/samp-stdlibnot in this directory
Used by 1 package
README.md
skinselect
Skin select system. Requires mselect library (optional).
Screens
Defines
| Define | Default value | Can be redefined? |
|---|---|---|
| SKINS_IGNORE | 74 | yes |
| SKINS_MINID | 0 | yes |
| SKINS_MAXID | 311 | yes |
| SKINS_COUNT | 310 | yes |
| SKINSELECT_MAX_FUNCTION_NAME | 31 | no |
Callbacks
forward OnSkinSelectResponse(playerid, SS_Response:type, oldskin, newskin);
SS_Response types
- SS_Response_Start
- SS_Response_Stop
- SS_Response_Change
- SS_Response_Select
Functions
SkinSelect_Start(playerid, function[]);
SkinSelect_Stop(playerid);
SkinSelect_GetCurrentSkin(playerid);
SkinSelect_GetOldSkin(playerid);
IsSkinValid(skinid);
Usage
// Start skin selection:
SkinSelect_Start(playerid, SkinSelect:test);
// Stop skin selection:
SkinSelect_Stop(playerid, SkinSelect:test);
// Get response:
SkinSelectResponse:test(playerid, SS_Response:type, oldskin, newskin)
{
}
This page is built from what GitHub publishes about the repository. samp.directory does not host the code. Report a problem with this listing