mSelection problems
#1

Okay. I've set a /clothes command and I it does open the mSelection menu but nothing happens from there. I cannot go to the next page, press any of the skins. Simply nothing works. All of the code is there, compiles fine and the skins.txt is in my scriptfiles.


Код:
public OnPlayerModelSelection(playerid, response, listid, modelid)
{
    if(listid == skinList)
    {
        if(response)
        {
            SendClientMessage(playerid, 0xFF0000FF, "Skin Changed");
            SetPlayerSkin(playerid, modelid);
        }
        else SendClientMessage(playerid, 0xFF0000FF, "Canceled skin selection");
        return 1;
    }
return 1;
}
Код:
new skinList = mS_INVALID_LISTID;
Код:
skinList = LoadModelSelectionMenu("skins.txt");
Код:
dcmd_clothes(playerid, params[])
{
	ShowModelSelectionMenu(playerid, skinList, "Select Skin");
	return 1;
}
Everything for the code to work should be right there, but it simply doesn't respond at all when I click. I don't have any other filterscripts that use textdraws I believe, so I don't think it can interfere.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)