if(dialogid== DIALOG_BASE)
{
if(response)
{
// aq e pra acontecer nada
return 1;
}
else
{
SetPlayerPos(playerid, 690.2013,-467.9773,16.5363);
return 1;
}
}
return 1;
}
if(pInfo[playerid][Sheep] == 1)
SetPlayerSkin(playerid, 293);
ShowPlayerDialog(playerid, DIALOG_BASE, DIALOG_STYLE_LIST, "Spawn", "Base\nHere", "Select", "");
return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == DIALOG_BASE)
{
if(response)
{
if(listitem == 0)
{
}
if(listitem == 1)
{
}
}
}
return 1;
}
PHP код:
|