14/02/2021 14:17
Alguém pode me ajudar com isso?
Código PHP:
PreviewModelDialog.inc(1179) : error 035: argument type mismatch (argument 4)
PreviewModelDialog.inc(1187) : error 035: argument type mismatch (argument 4)
Código:
stock Prev_ShowPlayerDialog(playerid, dialogid, style, const caption[], const info[], const button1[], const button2[]) {
if (playerid < 0 || playerid >= MAX_PLAYERS) {
return 0;
}
if (Prev@PlayerDialogID[playerid] != -1) {
Prev_HidePlayerDialog(playerid);
}
if (style != DIALOG_STYLE_PREVIEW_MODEL) {
return ShowPlayerDialog(playerid, dialogid, style, caption, info, button1, button2); //Essa é a linha 1179
}
if (dialogid < 0) {
if (style == DIALOG_STYLE_PREVIEW_MODEL) {
return 1;
}
return ShowPlayerDialog(playerid, dialogid, style, caption, info, button1, button2); //Essa é a linha 1187
}