29.08.2013, 09:07
Hello there, making rules dialog like when click ignore they will kick! I made like this:
But it gives me errors at last return 1; !!!
Errors:
Whats wrong?
Код:
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; }
Errors:
Код:
error 054: unmatched closing brace ("}") error 010: invalid function or declaration