10.12.2009, 10:55
Код:
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; }