HELP !!!
#1

Hello, I was trying to add a new Login and Register system in my scirpt and im getting this error on line 404

Code:
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COLOR_WHITE"Login",""COLOR_WHITE"Type Your Password","Login","Quit");
Code:
D:\Games\Samp\Server\Working\FRRP SCRIPT\gamemodes\frrp.pwn(404) : error 001: expected token: "-string end-", but found "-identifier-"
D:\Games\Samp\Server\Working\FRRP SCRIPT\gamemodes\frrp.pwn(404) : warning 215: expression has no effect
D:\Games\Samp\Server\Working\FRRP SCRIPT\gamemodes\frrp.pwn(404) : error 001: expected token: ";", but found "-string-"
D:\Games\Samp\Server\Working\FRRP SCRIPT\gamemodes\frrp.pwn(404) : warning 215: expression has no effect
D:\Games\Samp\Server\Working\FRRP SCRIPT\gamemodes\frrp.pwn(404) : error 001: expected token: "-string end-", but found "-identifier-"
D:\Games\Samp\Server\Working\FRRP SCRIPT\gamemodes\frrp.pwn(404) : fatal error 107: too many error messages on one line
Reply
#2

use this..
Code:
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,"Login","Type Your Password","Login","Quit");
Reply
#3

Code:
ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COLOR_WHITE"Registering...",""COLOR_WHITE"Type your password below to register a new account.","Register","Quit");
Now im getting error for this
Reply
#4

Quote:
Originally Posted by ColweeN
View Post
Code:
ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COLOR_WHITE"Registering...",""COLOR_WHITE"Type your password below to register a new account.","Register","Quit");
Now im getting error for this
here
Code:
ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,"Registering...","Type your password below to register a new account.","Register","Quit");
Reply
#5

@Yukie thanks bro but now im getting this error again on line 667

Code:
if(!strlen(inputtext)) return ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT, ""COLOR_WHITE"Registering...",""COL_RED"You have entered an invalid password.\n"COLOR_WHITE"Type your password below to register a new account.","Register","Quit");
Im using this script btw

https://pastebin.com/r4htbbcJ
Reply
#6

here.. I fixed it..
you're welcome btw

https://pastebin.com/J1AdpKvX
Reply
#7

let me check
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)