One Eroor help fast!
#1

Код HTML:
error 014: invalid statement; not in switch
error 001: expected token: ";", but found ":"
 error 029: invalid expression, assumed zero
 fatal error 107: too many error messages on one line
the line!

Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
		case 2:
		{
			if(!response) return 0;
			switch(listitem)
			{
Reply
#2

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    switch(dialogid)
    {
        case 2:
        {
            if(!response)
                return 0;
            else
            {
                switch(listitem)
                {
                    //Keep going
Reply
#3

Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
   //Can Use
    if(dialogid == yourdialogname)
    {
            if(!reponse) return 0;
            if(response)
            {
		switch(listitem)
		{
                       case 0:
		       {
                       } //and case 1..... and 2..... and >>
Try
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)