OnDialogResponse Errors
#1

Hey i need help with these errors, I suck soo much with dialogs and would appreciate help!!

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(response)
{
  switch(dialogid)
    {
        case teleports:// Our dialog!
        {
            switch(listitem)// Checking which listitem was selected
            {
                case: 0
                {
                    return cmd_stunts(playerid,params);
                }
                case: 1
                {
                    return cmd_deathmatches(playerid,params);
                }
                case: 2
                {
                    return cmd_parkours(playerid,params);
                }
                case: 3
                {
                    return cmd_roleplays(playerid,params);
                }
            }
        }
    return 1;
}
ERRORS:


C:\Users\EASYHOME\Desktop\UniverseOfStunting\gamem odes\UoS.pwn(7310) : error 029: invalid expression, assumed zero
C:\Users\EASYHOME\Desktop\UniverseOfStunting\gamem odes\UoS.pwn(7310 -- 7311) : error 029: invalid expression, assumed zero
C:\Users\EASYHOME\Desktop\UniverseOfStunting\gamem odes\UoS.pwn(7312) : error 017: undefined symbol "params"
C:\Users\EASYHOME\Desktop\UniverseOfStunting\gamem odes\UoS.pwn(7314) : error 029: invalid expression, assumed zero
C:\Users\EASYHOME\Desktop\UniverseOfStunting\gamem odes\UoS.pwn(7314 -- 7315) : error 029: invalid expression, assumed zero
C:\Users\EASYHOME\Desktop\UniverseOfStunting\gamem odes\UoS.pwn(7316) : error 017: undefined symbol "params"
C:\Users\EASYHOME\Desktop\UniverseOfStunting\gamem odes\UoS.pwn(731 : warning 217: loose indentation
C:\Users\EASYHOME\Desktop\UniverseOfStunting\gamem odes\UoS.pwn(731 : error 014: invalid statement; not in switch
C:\Users\EASYHOME\Desktop\UniverseOfStunting\gamem odes\UoS.pwn(731 : error 029: invalid expression, assumed zero
C:\Users\EASYHOME\Desktop\UniverseOfStunting\gamem odes\UoS.pwn(7318 -- 7319) : error 029: invalid expression, assumed zero
C:\Users\EASYHOME\Desktop\UniverseOfStunting\gamem odes\UoS.pwn(7318 -- 7319) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


10 Errors.
Reply


Messages In This Thread
OnDialogResponse Errors - by Swyft™ - 17.12.2011, 17:50
Re: OnDialogResponse Errors - by Alureon - 17.12.2011, 18:01
Re: OnDialogResponse Errors - by Swyft™ - 17.12.2011, 18:13
Re: OnDialogResponse Errors - by Alureon - 17.12.2011, 18:20
Re: OnDialogResponse Errors - by Swyft™ - 17.12.2011, 18:26
Re: OnDialogResponse Errors - by vassilis - 17.12.2011, 18:27
Re: OnDialogResponse Errors - by Alureon - 17.12.2011, 18:29
Re: OnDialogResponse Errors - by Swyft™ - 17.12.2011, 18:30
Re: OnDialogResponse Errors - by vassilis - 17.12.2011, 18:31
Re: OnDialogResponse Errors - by Swyft™ - 17.12.2011, 18:32

Forum Jump:


Users browsing this thread: 1 Guest(s)