SA-MP Forums Archive
'error 017: undefined symbol "fExist" - 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 017: undefined symbol "fExist" (/showthread.php?tid=387471)



'error 017: undefined symbol "fExist" - RLGaming - 24.10.2012

Quote:

error 017: undefined symbol "fExist"

I have this error for some reasons, all my includes, plugins whatever are they

I have the #include for YSI and shiz, I put the GM in a folder wheres theres another GM which uses Y_INI and that doesn't get that error

Code of error:
pawn Код:
ShowDialogStartUp(playerid)
{
    if(fExist(UserSavePath(playerid))
    {
        ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT, "", "", "Login!", "Cancel");
    }
    else
    {
        ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT, "", "", "Register!", "Cancel");
    }
    return 1;
}



Re: 'error 017: undefined symbol "fExist" - JaKe Elite - 24.10.2012

PHP код:
if(fExist(UserSavePath(playerid)) 
should be

PHP код:
if(fexist(UserSavePath(playerid))) 
??


Re: 'error 017: undefined symbol "fExist" - RLGaming - 24.10.2012

Didn't notice that, but it still didnt fix it


Re: 'error 017: undefined symbol "fExist" - Youice - 24.10.2012

what's your issue? it should be done like that otherwise try adding ( #include <file> )


Re: 'error 017: undefined symbol "fExist" - RLGaming - 24.10.2012

Already have it included, didnt work


Re: 'error 017: undefined symbol "fExist" - Steven82 - 25.10.2012

It's "fexist"...not "Fexist"

Wiki post


Re: 'error 017: undefined symbol "fExist" - JaKe Elite - 25.10.2012

^^

although, The guy said it's not working.


Re: 'error 017: undefined symbol "fExist" - Steven82 - 25.10.2012

Quote:
Originally Posted by Romel
Посмотреть сообщение
^^

although, The guy said it's not working.
I don't quite understand how it's not working. Maybe once he changed it, and showed the new errors or coding with errors. People seem to think...sometimes, that we can read minds.


Re: 'error 017: undefined symbol "fExist" - -=Dar[K]Lord=- - 25.10.2012

Here:
Quote:

ShowDialogStartUp(playerid)
{
if(fexist(UserSavePath(playerid)))
{

The brackets closing is not correct add one more ")" after fexist


Re: 'error 017: undefined symbol "fExist" - RLGaming - 25.10.2012

Quote:
Originally Posted by Steven82
Посмотреть сообщение
It's "fexist"...not "Fexist"

Wiki post
LOL

I tried everything but that, rep'd

Thank you for everyone that helped