Csõ all ebbe megmondanátok mi a hiba ?
[pawn]#include <a_samp>
#include <zcmd>
#define DIALOGID 1500
#define DSL DIALOG_STYLE_LIST
CMD:teles(playerid)
{
ShowPlayerDialog(playerid,DIALOGID,DSL,\"Teleport menü!\",\"Teleportok1\\nStuntok\\nDrift\\nEgyéb\\nBigjumpok\",\"Kiválaszt\",\"Cancel\");
return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid = DIALOGID)
{
if(response)
{
if(listitem == 0)
{
ShowPlayerDialog(playerid,DIALOGID+1,DSL,\"Teleportok1:\",\"LS\\nSF\\LV\\LS-Reptér\\nSf-reptér\\nLv-reptér\\nOldair\",\"Teleport\",\"Cancel\");
}
if(listitem == 1)
{
ShowPlayerDialog(playerid,DIALOGID+2,DSL,\"Stuntok\",\"DeadStunt\\nxStunt\\nSkatepark\\nRace\\nSpeed\\nSkroad\\nSumo\\nChilload\\nStunt1\\nStunt2\\nParkour3\",\"Teleport\",\"Cancel\");
}
if(listitem == 2);
{
ShowPlayerDialog(playerid,DIALOGID+3,DSL,\"Driftek\",\"Drift1\\nDrift2\\nDrift3\\nDrift4\\Drift5\",\"Teleport\",\"Cancel\");
}
return 1;
}[/pawn]
C:\\Documents and Settings\\Penge\\Asztal\\teles.pwn(17) : warning 211: possibly unintended assignment
C:\\Documents and Settings\\Penge\\Asztal\\teles.pwn(23) : error 027: invalid character constant
C:\\Documents and Settings\\Penge\\Asztal\\teles.pwn(23) : error 027: invalid character constant
C:\\Documents and Settings\\Penge\\Asztal\\teles.pwn(29) : error 036: empty statement
C:\\Documents and Settings\\Penge\\Asztal\\teles.pwn(31) : error 027: invalid character constant
C:\\Documents and Settings\\Penge\\Asztal\\teles.pwn(31) : error 027: invalid character constant
C:\\Documents and Settings\\Penge\\Asztal\\teles.pwn(33) : warning 217: loose indentation
C:\\Documents and Settings\\Penge\\Asztal\\teles.pwn(37) : warning 209: function \"OnDialogResponse\" should return a value
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
ami kell még majd hozzá azt csinom holnap
mer ma már nem fogom vagy de ?