Error with dialog
#1

Error:

C:\Users\Kasutaja\Desktop\Serv 2008 - 2011 scriptimine\gamemodes\ToriRP.pwn(7124) : error 001: expected token: ";", but found "-identifier-"

Line:

new msg[128]
format(msg,128,"Please enter your password.\nAnd press enter or log-in");
ShowPlayerDialog(playerid,22,DIALOG_STYLE_INPUT,"L S Roleplay",msg,"Log-in","Exit");
return 1;
Reply
#2

pawn Код:
new msg[128];
Reply
#3

Why did you use format, if you dont need it in this case.
pawn Код:
ShowPlayerDialog(playerid,22,DIALOG_STYLE_INPUT,"L S Roleplay","Please enter your password.\nAnd press enter or log-in","Log-in","Exit");
use this instead of those 3 lines.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)