Dialog response!!
#1

Hello there, making rules dialog like when click ignore they will kick! I made like this:
Код:
if(dialogid == 2)
    		{//then
        	if(!response) return Kick(playerid); //If they clicked the second button "Quit", we will kick them.
        	if(response) SendClientMessage(playerid, 0x33AA33AA, "Thanks for Accepting");
			return 1;
  			}
        	}
    	    //until here
		}
    }
    return 1;
}
But it gives me errors at last return 1; !!!

Errors:
Код:
error 054: unmatched closing brace ("}")
error 010: invalid function or declaration
Whats wrong?
Reply


Messages In This Thread
Dialog response!! - by DJRebis - 29.08.2013, 09:07
Re: Dialog response!! - by Giroud12 - 29.08.2013, 09:13
Re: Dialog response!! - by DJRebis - 29.08.2013, 09:17
Re: Dialog response!! - by Giroud12 - 29.08.2013, 09:21
Re: Dialog response!! - by DJRebis - 29.08.2013, 09:22
Re: Dialog response!! - by Giroud12 - 29.08.2013, 09:24
Re: Dialog response!! - by Pottus - 29.08.2013, 09:24
Re: Dialog response!! - by DJRebis - 29.08.2013, 09:25
Re: Dialog response!! - by Giroud12 - 29.08.2013, 09:26

Forum Jump:


Users browsing this thread: 1 Guest(s)