SA-MP Forums Archive
mSelections problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: mSelections problem (/showthread.php?tid=419583)



mSelections problem - Kenway - 01.03.2013

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;




Re: mSelections problem - Jstylezzz - 01.03.2013

((reminder: do not bump your post withint 24 hours!))
OT: Try redownloading the include, and check it in the Grand Larcency gamemode.
Maybe something in your gamemode is interfering with it, would be best to know if that's the case or not.


Re: mSelections problem - Kenway - 01.03.2013

Tried in bare script still the same problem. Redownload too. Maybe he upload bad script?
Any one help?


Re: mSelections problem - Jstylezzz - 01.03.2013

Perhaps..
Maybe you can look trough the release topic if other people reported this problem, start at the last page, and go back, and check if you find anything that helps you..
That's the only thing I can think of at the moment.


Re: mSelections problem - Kenway - 01.03.2013

xD Just did 2 mins ago what you just told me to do..


Re: mSelections problem - Kenway - 02.03.2013

help?


Re: mSelections problem - Kenway - 02.03.2013

Help?