Error 001-pawno
#1

(76)public OnPlayerConnect(playerid)
(77){
(78) if(fexist(UserPath(playerid))
(79) {
(80) INI_ParseFile(UserPath(playerid),"LoadUser_%s", .bExtra = true, .extra = playerid);
(81) ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD,"{dbdbdb}Login", "{dbdbdb}Bine ai (82)revenit! \n Logheaza-te.", "Login", "Quit");
(83) }
(84) else
(85) {
(86) ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,"{dbdbdb}Register", "{FFFFF}Bun (87)venit pe server! \n Inregistreaza-te pentru a putea juca.", "Register", "");
(88) }

Error: (79) : error 001: expected token: ")", but found "{"
Reply
#2

Why deleting the previous topic?

Код:
(78)	if(fexist(UserPath(playerid))
Becomes
Код:
(78)	if(fexist(UserPath(playerid)))
Reply
#3

Thank you man
Reply
#4

(35){
(36) INI_Int("Parola",PlayerInfo[playerid][pPass]);
(37) INI_Int("Bani",PlayerInfo[playerid][pCash]);
(38) return 1;
(39)}
You can help me with this? Here are my latest errors, you are the best scripter

(35) : error 055: start of function body without function header
(36) : error 010: invalid function or declaration
(37) : error 010: invalid function or declaration
Reply
#5

What error do you have?

Show the entire function, please.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)