DIALOG PROBLEM HELP? :'(
#1

Код:
public OnPlayerConnect(playerid)
{
	new pName[MAX_PLAYER_NAME];
	new string[64];
	GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
	format(string, sizeof(string), "%s has connected to [DV] Drift Like a King", pName);
	SendClientMessageToAll(COLOR_WHITE, string);
	
	if(fexist(UserPath(playerid)))
	{
	    INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
	    ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COLOR_WHITE"Login",""COL_WHITE"Type your password below to login.","Login","Quit");
	}
	else
	{
		ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_WHITE"Register",""COLOR_YELLOW"Input your desired password in below!","Register","Cancel");
	}
	ShowPlayerDialog(playerid, 2, DIALOG_STYLE_MSGBOX, "Server Rules:", "1. No Hacks, except drift lines \n2. No Deathmatching outside of designated DM areas \n3. Respect other players, especially admins \n4. No Advertising other servers here \n Consider yourself warned!", "I Agree", "I Disagree");
	return 1;
}
Код:
F:\Games\SA-MP\Dv drift\Dv drift\gamemodes\dvdrift.pwn(206) : error 001: expected token: "-string end-", but found "-identifier-"
F:\Games\SA-MP\Dv drift\Dv drift\gamemodes\dvdrift.pwn(206) : warning 215: expression has no effect
F:\Games\SA-MP\Dv drift\Dv drift\gamemodes\dvdrift.pwn(206) : error 001: expected token: ";", but found "-string-"
F:\Games\SA-MP\Dv drift\Dv drift\gamemodes\dvdrift.pwn(206) : warning 215: expression has no effect
F:\Games\SA-MP\Dv drift\Dv drift\gamemodes\dvdrift.pwn(206) : error 001: expected token: "-string end-", but found "-identifier-"
F:\Games\SA-MP\Dv drift\Dv drift\gamemodes\dvdrift.pwn(206) : fatal error 107: too many error messages on one line

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


4 Errors.
Reply
#2

pleaseee urgently needed!
Reply
#3

Which one the line 206 is?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)