errors with Yini - 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: errors with Yini (
/showthread.php?tid=361340)
errors with Yini -
thefatshizms - 20.07.2012
yep yet another set of errors from me
Код:
C:\Users\iphone\Desktop\Pawn Scripting\gamemodes\Sfcnr.pwn(1561) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\iphone\Desktop\Pawn Scripting\gamemodes\Sfcnr.pwn(1561) : warning 215: expression has no effect
C:\Users\iphone\Desktop\Pawn Scripting\gamemodes\Sfcnr.pwn(1561) : error 001: expected token: ";", but found ")"
C:\Users\iphone\Desktop\Pawn Scripting\gamemodes\Sfcnr.pwn(1561) : error 029: invalid expression, assumed zero
C:\Users\iphone\Desktop\Pawn Scripting\gamemodes\Sfcnr.pwn(1561) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
pawn Код:
if(fexist(UserPath(playerid)))
{
INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_WHITE"Login",""COL_WHITE"Type your password below to login.","Login","Quit");
}
else
{
ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_WHITE"Registering...",""COL_WHITE"Type your password below to register a new account.","Register","Quit");
}
Re: errors with Yini -
Rudy_ - 20.07.2012
pawn Код:
public OnPlayerConnect(playerid)
{
if(fexist(UserPath(playerid)))
{
INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_WHITE"Login",""COL_WHITE"Type your password below to login.","Login","Quit");
}
else
{
ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_WHITE"Registering...",""COL_WHITE"Type your password below to register a new account.","Register","Quit");
}
return 1;
}
Re: errors with Yini -
thefatshizms - 20.07.2012
same errors :/
Re: errors with Yini -
Rudy_ - 20.07.2012
Then the error are not here...
Re: errors with Yini -
thefatshizms - 20.07.2012
no errors when i remove it
ill add my whole script if needed but it is like 2.5 k lines
Re: errors with Yini -
[A]ndrei - 20.07.2012
when did you get yini
because mines stop working yesterday for some reason says error 407 when i try to load it to server.cfg...
i think we need to update maybe
Re: errors with Yini -
thefatshizms - 20.07.2012
nvm got it working