[Ajuda] Dialog ID + SKIN
#3

Quote:
Originally Posted by MultiKill
Посмотреть сообщение
pawn Код:
strcat(menuADM1, "» Dar Skin\n",sizeof(menuADM1));
strcat(menuADM1, "» Kickar\n",sizeof(menuADM1));
strcat(menuADM1, "» Voltar\n",sizeof(menuADM1));
OK
Mas meu problema esta nessa parte, quero que peзa a id do player a receber a skin primeiro.
pawn Код:
if(dialogid == DIALOG_SKIN)
    {
        if(!response) return SendClientMessage(playerid, VERVELHO, ": Troca de Skin Cancelada.");
        if(!strval(inputtext)) return SendClientMessage(playerid, VERVELHO, ": Troca de Skin Cancelada.");
        if(strval(inputtext) < 0 || strval(inputtext) > 299) return SendClientMessage(playerid, VERVELHO, "- Skin Invбlida!");
        for(new i = 0; i < sizeof(StrSkins); i++)
        if(strval(inputtext) == StrSkins[i]) return SendClientMessage(playerid, VERVELHO, "- Skin Invбlida!");
        format(string, sizeof(string), "> Skin Alterada! ID : %d", strval(inputtext));
        SendClientMessage(playerid, Sucesso, string);
        SetPlayerSkin(playerid,strval(inputtext));
    }
Reply


Messages In This Thread
Dialog ID + SKIN - by FernandoSS - 18.07.2014, 14:42
Re: Dialog ID + SKIN - by MultiKill - 18.07.2014, 14:50
Re: Dialog ID + SKIN - by FernandoSS - 18.07.2014, 14:54
Re: Dialog ID + SKIN - by MultiKill - 18.07.2014, 14:55
Re: Dialog ID + SKIN - by FernandoSS - 18.07.2014, 14:57
Re: Dialog ID + SKIN - by MultiKill - 18.07.2014, 14:59
Re: Dialog ID + SKIN - by FernandoSS - 18.07.2014, 15:03
Re: Dialog ID + SKIN - by MultiKill - 18.07.2014, 15:27

Forum Jump:


Users browsing this thread: 1 Guest(s)