mSelections problem
#1

I have a problem that I can't click on Skin Cancel Prev and Next on the menu dialog.

PHP код:
public OnPlayerModelSelection(playeridresponselistidmodelid)
{
    if(
listid == skinlist)
    {
        if(
response)
        {
            if(
IsValidSkin(modelid) == 0)
            {
                 if(
GetPVarInt(playerid"freeSkin") == 1)
                {
                    
SendClientMessageEx(playeridCOLOR_GREY"That skin ID is either invalid or restricted to faction or family!");
                    
ShowModelSelectionMenu(playeridskinlist"Select Skin");
                }
                else
                {
                    
SendClientMessageEx(playeridCOLOR_GREY"That skin ID is either invalid or restricted to faction or family!");
                    
ShowModelSelectionMenu(playeridskinlist"Select Skin");
                }
            }
            else
            {
                if(
GetPVarInt(playerid"freeSkin") == 1)
                {
                    
PlayerInfo[playerid][pModel] = modelid;
                    
SetPlayerSkin(playeridmodelid);
                    
SetPVarInt(playerid"freeSkin"0);
                }
                else
                {
                    if(
GetPlayerCash(playerid) < 2500) return SendClientMessageEx(playeridCOLOR_GRAD2"You can't afford these clothes!");
                    
GameTextForPlayer(playerid"~g~Skin purchased! ~n~ ~r~- $2500"20001);
                    
GivePlayerCash(playerid, -2500);
                    
PlayerInfo[playerid][pModel] = modelid;
                    
SetPlayerSkin(playeridmodelid);
                }
            }
        }
    }
    return 
1;

PHP код:
CMD:buyclothes(playeridparams[])
{
    if(
IsAtClothShop(playerid))
    {
        
ShowModelSelectionMenu(playeridskinlist"Skin cost: 2500$");
    }
    else
    {
        
SendClientMessageExplayeridCOLOR_WHITE"   You are not in a Clothing Shop!" );
    }
    return 
1;

Reply


Messages In This Thread
mSelections problem - by Kenway - 01.03.2013, 14:41
Re: mSelections problem - by Jstylezzz - 01.03.2013, 18:01
Re: mSelections problem - by Kenway - 01.03.2013, 18:32
Re: mSelections problem - by Jstylezzz - 01.03.2013, 20:26
Re: mSelections problem - by Kenway - 01.03.2013, 20:40
Re: mSelections problem - by Kenway - 02.03.2013, 05:47
Re: mSelections problem - by Kenway - 02.03.2013, 11:15

Forum Jump:


Users browsing this thread: 2 Guest(s)