09.05.2018, 16:38
I add custom skins. But doesn't show in LoadModelSelectionMenu.
I can change /setskin but Modal doesn't.
Codes:
Help me pls.
I can change /setskin but Modal doesn't.
Codes:
PHP код:
vSkin = LoadModelSelectionMenu("skins/allskins.txt");
PHP код:
new vSkin = mS_INVALID_LISTID;
PHP код:
if(listid == vHSYKSkin)
{
if(response)
{
new string[128];
SetPlayerSkin(playerid, modelid);
PlayerInfo[playerid][pSkin] = modelid;
SendClientMessage(playerid,-1,"Changed.");
format(string, sizeof(string), "* Changed", RPN(playerid));
SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
}
PHP код:
ShowModelSelectionMenu(playerid, vHSYKSkin, "Skin Sec");