Error 001-pawno - 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: Error 001-pawno (
/showthread.php?tid=664459)
Error 001-pawno -
ShaggyShaggy - 01.03.2019
(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 "{"
Re: Error 001-pawno -
TheToretto - 01.03.2019
Why deleting the previous topic?
Код:
(78) if(fexist(UserPath(playerid))
Becomes
Код:
(78) if(fexist(UserPath(playerid)))
Re: Error 001-pawno -
ShaggyShaggy - 01.03.2019
Thank you man
Another errors -
ShaggyShaggy - 01.03.2019
(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
Re: Error 001-pawno -
naahu - 01.03.2019
What error do you have?
Show the entire function, please.