09.10.2016, 18:13
PHP код:
#define DIALOG_ACE 90
if(strcmp(cmd, "/acessorios", true) == 0)
{
ShowPlayerDialog(playerid, DIALOG_ACE, DIALOG_STYLE_LIST,"Escolha um acessуrio","Remover Acessуrios\nChapeu\nChapeu2\nChapeu3","OK","Fechar");
return 1;
}
if(dialogid == DIALOG_ACE)
{
if(response)
{
if(listitem == 0)
{
StopPlayerHoldingObject(playerid);
}
if(listitem == 1)
{
new goggles = 3070;
SetPlayerHoldingObject(playerid, goggles, 2, 0000.00, 0000.07, 0000.0, 0180.0, 0090.0, 0180.0);
}
}
}