11.01.2018, 21:57
I'm using mSelection to show my dialog for my skins. I have 0.3.8 server package. I have the folder set correctly for the skin ids. Artwork is enabled, and when players join the server the skins download. The problem is the dialog will not pop up.
Quote:
Код:
new customskins; public OnGameModeInit() { customskins = LoadModelSelectionMenu("data/customskins.txt"); return 1; } public OnPlayerModelSelection(playerid, response, listid, modelid) { if(listid == customskins) { if(response) { SetPlayerSkin(playerid, modelid); SendClientMessage(playerid, -1, "Skin Changed"); } else SendClientMessage(playerid, -1, "Canceled skin selection"); return 1; } if(listid == skinlist) { if(response) { SetPlayerSkin(playerid, modelid); SendClientMessage(playerid, -1, "Skin Changed"); } else SendClientMessage(playerid, -1, "Canceled skin selection"); return 1; } return 1; } CMD:customskin(playerid, params[]) { ShowModelSelectionMenu(playerid, customskins, "Custom Skins"); return 1; } |