dialog help
#1

Код:
C:\Users\Vip\Downloads\samp03asvr_R3_win32\gamemodes\GamemodeByMantas7776.pwn(155) : error 027: invalid character constant
C:\Users\Vip\Downloads\samp03asvr_R3_win32\gamemodes\GamemodeByMantas7776.pwn(155) : error 027: invalid character constant
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) //the callback
{
  if (dialogid == DIALOG_BASE + 2) //checking dialogid
  {
    if (response == 1) //warp has been pressed
    {
      switch (listitem) //a switch, not going to explain it here
      {
        case 0:SendClientMessage(playerid, 0xFFFFFFFF, "Sekmingai nusiteleportavai"); //if (listitem == 0) Set...
        case 1:SendClientMessage(playerid, 0xFFFFFFFF, "Sekmingai nusiteleportavai"); //if (listitem == 1) Set...
      }
      SendClientMessage(playerid, 0xFFFFFFFF, "Sekmingai nusiteleportavai"); //a message to confirm the warp
    }
    else //pressed cancel
    {
      SendClientMessage(playerid, 0xFFFFFFFF, "Teleportavimasis atsauktas"); //confirmation of declination
    }
    return 1; //returns 1, it has been handled
  }
  return 0;
}
Reply


Messages In This Thread
dialog help - by Mantas7776 - 10.12.2009, 10:55
Re: dialog help - by patchkinson - 10.12.2009, 11:00
Re: dialog help - by Mantas7776 - 10.12.2009, 11:09
Re: dialog help - by patchkinson - 10.12.2009, 11:11
Re: dialog help - by Mantas7776 - 10.12.2009, 11:14
Re: dialog help - by Mantas7776 - 10.12.2009, 12:07
Re: dialog help - by Mantas7776 - 10.12.2009, 12:17
Re: dialog help - by Mantas7776 - 10.12.2009, 13:10

Forum Jump:


Users browsing this thread: 3 Guest(s)