06.06.2015, 12:33
I Got An Error..
with this line..idk what is going on right now
The Code
i can give you the whole code if you need it..i spent so much time on this..I want to create login and register system
Код:
C:\Users\Armageddon\Desktop\Gamemode1.pwn(110) : error 029: invalid expression, assumed zero C:\Users\Armageddon\Desktop\Gamemode1.pwn(110) : warning 215: expression has no effect C:\Users\Armageddon\Desktop\Gamemode1.pwn(110) : warning 215: expression has no effect C:\Users\Armageddon\Desktop\Gamemode1.pwn(110) : warning 215: expression has no effect C:\Users\Armageddon\Desktop\Gamemode1.pwn(110) : warning 215: expression has no effect C:\Users\Armageddon\Desktop\Gamemode1.pwn(110) : warning 215: expression has no effect C:\Users\Armageddon\Desktop\Gamemode1.pwn(110) : error 001: expected token: ";", but found ")" C:\Users\Armageddon\Desktop\Gamemode1.pwn(110) : error 029: invalid expression, assumed zero C:\Users\Armageddon\Desktop\Gamemode1.pwn(110) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Код:
ShowPlayerDialog(playerid,Dialog_Login,DIALOG_STYLE_INPUT,"Please Login","Welcome Back . This Account Is {FF0000}Registered. \n{FFFFFF}Insert Your Password To Login To Your Account.","Login","Cancel");
Код:
public OnPlayerConnect(playerid) { if(fexist(Path(playerid))) { INI_ParseFile(Path(playerid),"loadaccount_%s", .bExtra = true, .extra = playerid); //Will load user's data using INI_Parsefile. ShowPlayerDialog(playerid,Dialog_Login,DIALOG_STYLE_INPUT,"Please Login","Welcome Back . This Account Is {FF0000}Registered. \n{FFFFFF}Insert Your Password To Login To Your Account.","Login","Cancel"); { ShowPlayerDialog(playerid,Dialog_Register,DIALOG_STYLE_INPUT,"Please Register","Welcome. This Account Is Not Registered In Our Server.\nEnter Your Password To Create A New Account.","Register","Cancel"); return 1; } new pname[MAX_PLAYER_NAME], string[256]; GetPlayerName( playerid, pname, sizeof(pname)); format(string, sizeof(string), "Welcome To {66CCFF}Cyber {FFFF99}Malaysian {99FF66}Army, {FF6600}%s{FFFFFF}", pname); SendClientMessage(playerid, 0xFFFFFFFF, string); return 1; }