[HELP] Dialog
#4

i need help with another thing too :P
I really messed up this one:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(IsPlayerAdmin(playerid))
    }// 7
        if(!strcmp(cmdtext, "/teles", true)) // 8
        ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Where do you want?", "Las Venturas Airport\nSan Fierro Airport\nLos Santos Airport\nAbandoned Airport\nLas Venturas Bank\nMount Chilliad", "Teleport", "Cancel");
        return 1;
    }
} //12
ERROR:!
pawn Код:
C:\Users\Larsey123\Desktop\Teles.pwn(7) : error 029: invalid expression, assumed zero
C:\Users\Larsey123\Desktop\Teles.pwn(7 -- 8) : warning 215: expression has no effect
C:\Users\Larsey123\Desktop\Teles.pwn(8) : error 001: expected token: ";", but found "if"
C:\Users\Larsey123\Desktop\Teles.pwn(8) : warning 217: loose indentation
C:\Users\Larsey123\Desktop\Teles.pwn(12) : error 054: unmatched closing brace ("}")
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


3 Errors.
Reply


Messages In This Thread
[HELP] Dialog - by Larsey123IsMe - 06.12.2010, 19:47
Re: [HELP] Dialog - by SkizzoTrick - 06.12.2010, 19:49
Re: [HELP] Dialog - by Larsey123IsMe - 06.12.2010, 19:50
Re: [HELP] Dialog - by Larsey123IsMe - 06.12.2010, 20:11
Re: [HELP] Dialog - by eDz0r - 06.12.2010, 20:18
Re: [HELP] Dialog - by Larsey123IsMe - 06.12.2010, 20:27

Forum Jump:


Users browsing this thread: 1 Guest(s)