13.02.2010, 22:10
Код:
864 new ShowPlayerDialog(playerid, dialogid, style, caption[], info[], button1[], button2[]) 865 866 if(!strcmp(cmdtext, "/help", true)) { ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Help","Commands (/cmdstext)\nTeleprts (/teles)\nRules (/rules)\nCredits ( /credits )\nTeleportation by menu (/teleM)","Ok","Close"); return 1; } { ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Help2","Ajutor","Comenzi (/helptext)\nTeleportari (/teles)\nRegulament (/rules)\nCreatori ( /credits )\nTeleportari prin meniuri (/teleM)","Ok","Iesire"); return 1; } if(!strcmp(cmdtext, "/myskin", true)) { ShowPlayerDialog(playerid, Dialog_Skins, 2, "Skins","Gangstar\nPublic Services\nGIRLS\nSpecific Skins\nNormal Skins\nOther Skins","Select","Cancel"); return 1; }
Код:
C:\Documents and Settings\CyBeR.AE436CA18F9D482\Desktop\RO.pwn(864) : warning 219: local variable "ShowPlayerDialog" shadows a variable at a preceding level C:\Documents and Settings\CyBeR.\Desktop\GM.pwn(864) : error 001: expected token: ";", but found "(" C:\Documents and Settings\CyBeR.\Desktop\GM.pwn(864) : error 017: undefined symbol "dialogid" C:\Documents and Settings\CyBeR.\Desktop\GM.pwn(864 -- 866) : warning 215: expression has no effect C:\Documents and Settings\CyBeR.\Desktop\GM.pwn(866) : error 001: expected token: ";", but found "if" C:\Documents and Settings\CyBeR.\Desktop\GM.pwn(866) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.