mSelection - 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: mSelection (
/showthread.php?tid=485257)
mSelection -
Lidor124 - 03.01.2014
Hey
I got a kind of problem when typing the command /buyclothes by using the function ShowModelSelectionMenu(playerid, skinlist, "Select Skin");
but when i click the skin i chose nothing happens, like it stuck
actually im new to this mSelection so please help me out
Re: mSelection -
Blast3r - 03.01.2014
Howdy mate, do you have the code which responds to the click? If you look into the mSelection thread you'll see an example script of it, and this is the response link on that thread:
pawn Код:
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;
}
Re: mSelection -
Lidor124 - 03.01.2014
Yes got it already
Quote:
if(listid == hsfskinlist)
{
if(response)
{
new string[128];
PlayerInfo[playerid][pModel] = modelid;
SetPlayerSkin(playerid, modelid);
format(string, sizeof(string), "* %s reaches their hands and put some clothes on.", RPN(playerid));
SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
}
else SendClientMessage(playerid, 0xFF0000FF, "Canceled skin selection");
// HideModelSelectionMenu(playerid)
return 1;
}
|
Re: mSelection -
Lidor124 - 03.01.2014
Never mind solved, a filterscript has been bothered it to click
Re: mSelection -
BadJih - 28.08.2017
how did you solved it ? plz
Re: mSelection -
ArianGubetini - 28.08.2017
Quote:
Originally Posted by BadJih
how did you solved it ? plz
|
Bro,this post is from 2014....I don't think he will answer telling you how he fixed it!!

Re: mSelection -
BadJih - 28.08.2017
Quote:
Originally Posted by ArianGubetini
Bro,this post is from 2014....I don't think he will answer telling you how he fixed it!!  
|
ok lol you can help me ?