19.04.2014, 19:05
This is the code I have done
This is the error
The line where the error is coming from
Код:
if(dialogid == 5) { if(response == 0) return SendClientMessage(playerid, COL_RED, "You have closed the help dialog."); switch(listitem) { case 0: { ShowPlayerDialog(playerid, DIALOG_HELP_OTHER, DIALOG_STYLE_MSGBOX, "General", "{F81414}Not finished yet", "Okay", ""); } case 1: { ShowPlayerDialog(playerid, DIALOG_HELP_CAR, DIALOG_STYLE_MSGBOX, "Car", "{F81414}Not finished yet", "Okay", ""); } case 2: { ShowPlayerDialog(playerid, DIALOG_HELP_ANIMATION, DIALOG_STYLE_MSGBOX, "Animations", "/drunk", "Okay", ""); } } }
Код:
error 035: argument type mismatch (argument 2)
Код:
if(response == 0) return SendClientMessage(playerid, COL_RED, "You have closed the help dialog.");