12.06.2014, 13:35
hey guys im getting these errors
on these lines
Код:
C:\Users\Ashwin\Desktop\trial server\filterscripts\LuxAdmin.pwn(781) : error 003: declaration of a local variable must appear in a compound block C:\Users\Ashwin\Desktop\trial server\filterscripts\LuxAdmin.pwn(781) : warning 217: loose indentation C:\Users\Ashwin\Desktop\trial server\filterscripts\LuxAdmin.pwn(781) : error 017: undefined symbol "lstring" C:\Users\Ashwin\Desktop\trial server\filterscripts\LuxAdmin.pwn(781) : warning 215: expression has no effect C:\Users\Ashwin\Desktop\trial server\filterscripts\LuxAdmin.pwn(781) : error 001: expected token: ";", but found "]" C:\Users\Ashwin\Desktop\trial server\filterscripts\LuxAdmin.pwn(781) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
pawn Код:
if(!udb_Exists(PlayerName2(playerid)))
// #if USE_DIALOGS == true
new rstring[256];
format(rstring,256,"Welcome to the '%s'\n\nAccount '%s' is not registred!\n\nEnter the password to Register your Account:",GetServerHostName(),pName(playerid));
ShowPlayerDialog(playerid,DIALOGID+66,DIALOG_STYLE_INPUT,"Register Account",rstring,"Register","Quit");
// #endif
return 1;
else