Problem with mSelection - not working on 0.3.7 R2
#1

I updated to 0.3.7 ten days ago and when I tried to use my script (it working on 0.3x) mSelection shows up but I can't select anything. I tried to redownload and recompile again but not working....
Reply
#2

Nobody?
Reply
#3

Quote:
Originally Posted by Mititel
Посмотреть сообщение
Nobody?
when you say mSelection, you mean the character selection ?
Reply
#4

No. I ordered / clothes with mSelection in gm everything well, no errors or warnings, but when I go into the game and write / clothes, table issues appears to me, but when I click Choose my appearance, nothing happens. I left the table on the screen and I can not figure cancel or otherwise.

Sorry for my English
Reply
#5

I'm using mSelection normally on 0.3.7 R2 and it work,can u post codes?
Reply
#6

Код:
if(strcmp(cmdtext, "/clothes", true) == 0)
	{
 		if(IsPlayerConnected(playerid))
	    {
	        if(PlayerInfo[playerid][pRank] == 0 && PlayerInfo[playerid][pMember] == 0)
	        {
	            if(IsAtClothShop(playerid))
				{
	    			ShowModelSelectionMenu(playerid, skinlist, "Select Skin");
				}
				else
				{

					SendClientMessage(playerid, COLOR_GREY, "{CC0000}[BOT]: {FFFFFF}Nu esti la un magazin clothes");
					return 1;
				}
			}
			else
			{
				SendClientMessage(playerid, COLOR_GREY, "{CC0000}[BOT]: {FFFFFF}Trebuie sa fii civil pentru a iti schimba skin!");
				return 1;
			}
		}
	    return 1;
	}
Код:
public OnPlayerModelSelection(playerid, response, listid, modelid)
{
	if(listid == skinlist)
	{
	    if(response)
	    {
		    SendClientMessage(playerid, 0xFF0000FF, "Skin Changed");
			PlayerInfo[playerid][pModel] = modelid;
			PlayerInfo[playerid][pChar] = modelid;
	    	SetPlayerSkin(playerid, modelid);
	    }
	    else SendClientMessage(playerid, 0xFF0000FF, "Canceled skin selection");
    	return 1;
	}
	return 1;
}
Reply
#7

Show "skinlist" please
Reply
#8

Код:
new skinlist = mS_INVALID_LISTID;
Reply
#9

Did you add "skinlist = LoadModelSelectionMenu("skins.txt");" in your OnGameModeInit or OnFilterScriptInit?

Edit: And do you even have skins.txt file in your scriptfiles folder?
Reply
#10

Yes and Yes.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)