16.03.2013, 06:03
Hey guys, I am building this complete YSI mode.
I am unsure on how to check if a player is registered or not, since YSI uses UID for file names, not user names, so files look like "000001.ini" and not "Name.ini".
I tried !fexist - format(st, size, "\YSI\users\%d.ini", Get_YID(playerid) );
and something like that to check if he is registered and then using the response to Player_Try(Login/Register) but I knew all along it's wrong.
Can someone direct me in the correct direction? (preferably ******)?
I am unsure on how to check if a player is registered or not, since YSI uses UID for file names, not user names, so files look like "000001.ini" and not "Name.ini".
I tried !fexist - format(st, size, "\YSI\users\%d.ini", Get_YID(playerid) );
and something like that to check if he is registered and then using the response to Player_Try(Login/Register) but I knew all along it's wrong.
Can someone direct me in the correct direction? (preferably ******)?