Dialog Error! Help plz
#1

Hi, I am trying to convert my gamemode to Y_INI Register System!
Here's the link for the tutorial that I am following : https://sampforum.blast.hk/showthread.php?tid=273088

I am getting this Errors :
Код:
G:\My Server\gamemodes\SFCRRPG.pwn(2608) : error 001: expected token: "-string end-", but found "-identifier-"
G:\My Server\gamemodes\SFCRRPG.pwn(2608) : warning 215: expression has no effect
G:\My Server\gamemodes\SFCRRPG.pwn(2608) : error 001: expected token: ";", but found "-string-"
G:\My Server\gamemodes\SFCRRPG.pwn(2608) : warning 215: expression has no effect
G:\My Server\gamemodes\SFCRRPG.pwn(2608) : error 001: expected token: "-string end-", but found "-identifier-"
G:\My Server\gamemodes\SFCRRPG.pwn(2608) : 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 Number 2608 :
Код:
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COLOR_WHITE"Login",""COLOR_WHITE"Type your password below to login.","Login","Quit");
Kindly help me please.
Thank you,
Michael
Reply
#2

Try this
pawn Код:
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT, COLOR_WHITE,"Login", COLOR_WHITE"Type your password below to login.","Login","Quit");
Reply
#3

pawn Код:
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT, COLOR_WHITE, "Login", COLOR_WHITE, "Type your password below to login.", "Login", "Quit");
And also post line 2607
Reply
#4

Sorry, Not working.

Line : 2607
Код:
INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
Reply
#5

-Bump.
Please help me somebody!
Reply
#6

Show your #define DIALOG_LOGIN
Reply
#7

Quote:
Originally Posted by nilanjay
Посмотреть сообщение
Show your #define DIALOG_LOGIN
#define DIALOG_LOGIN 1
Reply
#8

Quote:
Originally Posted by Michael_Cruise
Посмотреть сообщение
Sorry, Not working.

Line : 2607
Код:
INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
If you have like 2607 like that and than 2608 you have your login dialog..I think that's creating the problem. Remove the ShowPlayerDialog after line 2607. I hope it works.
Reply
#9

In dialogs I always use ~w~:
pawn Код:
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,"~w~Login","~w~Type ~w~your ~w~password ~w~below ~w~to ~w~login.","Login","Quit");
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)