Register system[HELP]
#1

Hey guys i have some problem using the code for "OnPlayerConnect" from this tut: https://sampforum.blast.hk/showthread.php?tid=376424

Whenever i compile i get these:
Код:
C:\Users\ZackMartines\Desktop\Samp Server\gamemodes\BTW.pwn(395) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\ZackMartines\Desktop\Samp Server\gamemodes\BTW.pwn(395) : warning 215: expression has no effect
C:\Users\ZackMartines\Desktop\Samp Server\gamemodes\BTW.pwn(395) : error 001: expected token: ";", but found "-string-"
C:\Users\ZackMartines\Desktop\Samp Server\gamemodes\BTW.pwn(395) : warning 215: expression has no effect
C:\Users\ZackMartines\Desktop\Samp Server\gamemodes\BTW.pwn(395) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\ZackMartines\Desktop\Samp Server\gamemodes\BTW.pwn(395) : fatal error 107: too many error messages on one line

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


4 Errors.
I have setup everything like explained... i haven't done any modifications yet.
Reply
#2

Bump
Reply
#3

Show us line 395 please.
Reply
#4

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

pawn Код:
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,"Login","Type your password below to login.","Login","Quit");
This should work, when adding colors in dialogs, white is default color, as well as you should use {FFFFFF} format within. I.E: "{00FFFF}Please log in to continue..." After you set the color (The one I gave was blue), you will need to use {FFFFFF} before the next text in order for it to be white as you changed it from it's default.

Enjoy, lemme know if you have any difficulties.
Reply
#6

Neverrmind
Reply
#7

Can you fix this one too please ?
pawn Код:
ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_WHITE"Registering...",""COL_WHITE"Type your password below to register a new account.","Register","Quit");
Reply
#8

pawn Код:
ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,"Registering...","Type your password below to register a new account.","Register","Quit");
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)