Login Dialog doesn't show!
#5

Wait. If only the register dialog shows up, then that of course means fexist is always returning 0. That means you're using the function incorrectly. Use printf("%d", fexist(UserPath(playerid))) immediately under OnPlayerConnect and then check the server console to see what it returns. Tell me what value it is. Then perhaps use Fopen to detect if it exists; Fopen will return 0 if it doesn't exist/couldn't be opened, and the file handle otherwise.
Reply


Messages In This Thread
Login Dialog doesn't show! - by HazardGaming - 21.04.2012, 12:51
Re: Login Dialog doesn't show! - by Ainseri - 21.04.2012, 14:06
Re: Login Dialog doesn't show! - by HazardGaming - 21.04.2012, 16:38
Re: Login Dialog doesn't show! - by HazardGaming - 21.04.2012, 17:41
Re: Login Dialog doesn't show! - by Ainseri - 21.04.2012, 18:33
Re: Login Dialog doesn't show! - by admantis - 21.04.2012, 19:09

Forum Jump:


Users browsing this thread: 1 Guest(s)