[DUV]Binco
#5

Substitua po este e adapte a seu jeito:

pawn Code:
//Topo
#define DialogoID 32//substitua o 32 por um id que vocк ainda nгo usou ou deixe 32 mesmo
//OnPlayerCommandText
if(strcmp(cmd, "/skin", true) == 0)
{
    if(IsPlayerInRangeOfPoint(playerid, 10.0, X, Y, Z) == 0)//Substitua X, Y, Z pelas suas coordenadas
    {
        ShowPlayerDialog(playerid, DialogoID,DIALOG_STYLE_LIST, "Skins", "CJ\nGangster", "OK", "CANCELAR");
    }
    return 1;
}

//OnPlayerDialogResponse

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
  if(dialogid == DialogoID)
  {
    switch(listitem)
    {
        case 0: SetPlayerSkin(playerid, 1);
          case 1: SetPlayerSkin(playerid, 102);
      }
      return 1;
     }
  return 0;
}
Reply


Messages In This Thread
[DUV]Binco - by Mhyfp - 11.01.2010, 23:47
Re: [DUV]Binco - by Guilherme_Canani - 12.01.2010, 00:16
Re: [DUV]Binco - by Mhyfp - 12.01.2010, 00:40
Re: [DUV]Binco - by Guilherme_Canani - 12.01.2010, 01:26
Re: [DUV]Binco - by speliarmos - 12.01.2010, 13:34
Re: [DUV]Binco - by Mhyfp - 12.01.2010, 14:15
Re: [DUV]Binco - by netado - 12.01.2010, 14:22
Re: [DUV]Binco - by Mhyfp - 12.01.2010, 14:23
Re: [DUV]Binco - by netado - 12.01.2010, 14:25
Re: [DUV]Binco - by Mhyfp - 12.01.2010, 14:30

Forum Jump:


Users browsing this thread: 1 Guest(s)