Y_INI Registration System Issues
#1

I started a new script using Y_INI for the first time and I used this tutorial https://sampforum.blast.hk/showthread.php?tid=273088

Below when I added all that stuff i get the following errors.

Код:
C:\Users\COMPUTER\Desktop\SAMPservProject\gamemodes\deathmatch.pwn(200) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\COMPUTER\Desktop\SAMPservProject\gamemodes\deathmatch.pwn(200) : warning 215: expression has no effect
C:\Users\COMPUTER\Desktop\SAMPservProject\gamemodes\deathmatch.pwn(200) : error 001: expected token: ";", but found "-string-"
C:\Users\COMPUTER\Desktop\SAMPservProject\gamemodes\deathmatch.pwn(200) : warning 215: expression has no effect
C:\Users\COMPUTER\Desktop\SAMPservProject\gamemodes\deathmatch.pwn(200) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\COMPUTER\Desktop\SAMPservProject\gamemodes\deathmatch.pwn(200) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Line 200
Код:
			ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COLOR_WHITE"Login",""COLOR_WHITE"Type your password below to login.","Login","Quit");
Lines around it.

Код:
public OnPlayerConnect(playerid)
{
	SendClientMessage (playerid, COLOR_WHITE, "-----------------------------");
	SendClientMessage (playerid, COLOR_GREY, "Welcome to Deathmatch Script!");
	SendClientMessage (playerid, COLOR_GREY, "IP:127.0.0.1");
	SendClientMessage (playerid, COLOR_GREY, "Teamspeak: 127.0.0.1");
	SendClientMessage (playerid, COLOR_WHITE, "-----------------------------");
	if(fexist(UserPath(playerid)))
    	{
        	INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
			ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COLOR_WHITE"Login",""COLOR_WHITE"Type your password below to login.","Login","Quit");
    	}
   		else
    	{
        	ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COLOR_WHITE"Registering...",""COLOR_WHITE"Type your password below to register a new account.","Register","Quit");
	}
    return 1;
}
Reply


Messages In This Thread
Y_INI Registration System Issues - by Johnny_Robins - 07.07.2012, 05:35
Re: Y_INI Registration System Issues - by [MM]RoXoR[FS] - 07.07.2012, 06:23
Re: Y_INI Registration System Issues - by Johnny_Robins - 07.07.2012, 17:33
Re: Y_INI Registration System Issues - by Roko_foko - 07.07.2012, 17:55
Re: Y_INI Registration System Issues - by Steven82 - 07.07.2012, 19:37

Forum Jump:


Users browsing this thread: 1 Guest(s)