Skin selector
#1

Fixed!
Reply
#2

PHP код:
//-> Vagos' Skins <-//
if(extraid == DIALOG_VAGOS_SKINS)
{
    if(
response)
    {
        
SendClientMessage(playerid0xF5BE1880"[ NOTIFICATION: Skin Changed. ]");
        new 
string[100];
        
format(string,sizeof(string),"[ NOTIFICATION: You have sucessfully changed your team skin (Skin ID: %d). ]",modelid2);
        
SendClientMessage(playerid0xF5BE1880,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;
    } 
Reply
#3

Fixed!
Reply
#4

Fixed!
Reply
#5

Fixed!
Reply
#6

Fixed!
Reply
#7

PHP код:
//-> Vagos' Skins <-//
if(extraid == DIALOG_VAGOS_SKINS)
{
    if(
response)
    {
        
SendClientMessage(playerid0xF5BE1880"[ NOTIFICATION: Skin Changed. ]");
        new 
string[100];
        
format(string,sizeof(string),"[ NOTIFICATION: You have sucessfully changed your team skin (Skin ID: %d). ]",modelid2);
        
SendClientMessage(playerid0xF5BE1880,string);
        
SetPlayerSkin(playerid,modelid2);
    }
    else
//No need for this else, just remove it but keep the return as that what was bugging it.
    
{
        
SendClientMessage(playerid0xF5BE1880"[ 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.
Reply
#8

Fixed!
Reply
#9

And do you get the message I added when you try to cancel?
Reply
#10

Fixed!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)