21.03.2010, 16:16
so guys i hae a little problem, i tried to make a dialog in a dual language (english/german) but iґve got som errors after the compiling
this here is the error
this here are the lines
line 90 is
ShowPlayerDialog(playerid, dialogid, style, caption[], info[], button11[], button21[]);
and 95 is
ShowPlayerDialog(playerid, dialogid, style, caption2[], info2[], button12[], button22[]);
this here is the error
Код:
C:\Dokumente und Einstellungen\ante\Desktop\ls\pawno\include\toni.inc(90) : error 029: invalid expression, assumed zero C:\Dokumente und Einstellungen\ante\Desktop\ls\pawno\include\toni.inc(95) : error 029: invalid expression, assumed zero Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.
Код:
stock ShowPlayerTextDialog(playerid, dialogid, style, caption[], caption2[], info[], info2[], button11[], button12[], button21[], button22[]) { if(PlayerLanguage[playerid] == 0) { ShowPlayerDialog(playerid, dialogid, style, caption[], info[], button11[], button21[]); return 1; } if(PlayerLanguage[playerid] == 1) { ShowPlayerDialog(playerid, dialogid, style, caption2[], info2[], button12[], button22[]); return 1; } return 1; }
ShowPlayerDialog(playerid, dialogid, style, caption[], info[], button11[], button21[]);
and 95 is
ShowPlayerDialog(playerid, dialogid, style, caption2[], info2[], button12[], button22[]);