23.05.2014, 22:59
Em OnplayerSpawn:
Em OnDialogResponse:
pawn Код:
ShowPlayerDialog(playerid,0,DIALOG_STYLE_LIST,"Spawns","PM\nMafia","Escolher","");
pawn Код:
if(dialogid == 0)
{
if(response)
{
if(listitem == 0) // caso ele escolher pm
{
SetPlayerPos(playerid,0.0,0.0,0.0);
}
if(listitem == 1) // caso ele escolher Mafia
{
SetPlayerPos(playerid,0.0,0.0,0.0);
}
}
return 1;
}