Register system[HELP] - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Register system[HELP] (
/showthread.php?tid=390940)
Register system[HELP] -
ZackBoolaro - 08.11.2012
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.
Re: Register system[HELP] -
ZackBoolaro - 08.11.2012
Bump
Re: Register system[HELP] -
nmader - 08.11.2012
Show us line 395 please.
Re: Register system[HELP] -
ZackBoolaro - 08.11.2012
pawn Код:
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_WHITE"Login",""COL_WHITE"Type your password below to login.","Login","Quit");
Re: Register system[HELP] -
nmader - 08.11.2012
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.
Re: Register system[HELP] -
MatZZPL - 08.11.2012
Neverrmind
Re: Register system[HELP] -
ZackBoolaro - 08.11.2012
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");
Re: Register system[HELP] -
nmader - 08.11.2012
pawn Код:
ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,"Registering...","Type your password below to register a new account.","Register","Quit");