Skin selector - 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: Skin selector (
/showthread.php?tid=580828)
Skin selector -
Sc0pion - 08.07.2015
Fixed!
Re: Skin selector -
youssefehab500 - 08.07.2015
PHP код:
//-> Vagos' Skins <-//
if(extraid == DIALOG_VAGOS_SKINS)
{
if(response)
{
SendClientMessage(playerid, 0xF5BE1880, "[ NOTIFICATION: Skin Changed. ]");
new string[100];
format(string,sizeof(string),"[ NOTIFICATION: You have sucessfully changed your team skin (Skin ID: %d). ]",modelid2);
SendClientMessage(playerid, 0xF5BE1880,string);
SetPlayerSkin(playerid,modelid2);
}
else//No need for this else, just remove it but keep the return as that what was bugging it.
{
SendClientMessage(playerid, -1, "[ NOTIFICATION: You have cancelled the skin selection menu.");
return 1;
}
Re: Skin selector -
Sc0pion - 08.07.2015
Fixed!
Re: Skin selector -
Sc0pion - 09.07.2015
Fixed!
Re: Skin selector -
Sc0pion - 13.07.2015
Fixed!
Re: Skin selector -
Sc0pion - 22.07.2015
Fixed!
Re: Skin selector -
youssefehab500 - 23.07.2015
PHP код:
//-> Vagos' Skins <-//
if(extraid == DIALOG_VAGOS_SKINS)
{
if(response)
{
SendClientMessage(playerid, 0xF5BE1880, "[ NOTIFICATION: Skin Changed. ]");
new string[100];
format(string,sizeof(string),"[ NOTIFICATION: You have sucessfully changed your team skin (Skin ID: %d). ]",modelid2);
SendClientMessage(playerid, 0xF5BE1880,string);
SetPlayerSkin(playerid,modelid2);
}
else//No need for this else, just remove it but keep the return as that what was bugging it.
{
SendClientMessage(playerid, 0xF5BE1880, "[ NOTIFICATION: You have cancelled the skin selection menu.]");
return 1;
}
return 1;
}
What about now? Sorry was busy didn't check my mail to know whether you replied or no.
All I need you to do with this is replace yours with it and tell me what exactly happens. What happens when you choose a ski/cancel/do you get my message or no.
Waiting for your reply if you hadn't already fix it yet.
Re: Skin selector -
Sc0pion - 25.07.2015
Fixed!
Re: Skin selector -
youssefehab500 - 26.07.2015
And do you get the message I added when you try to cancel?
Re: Skin selector -
Sc0pion - 26.07.2015
Fixed!