Automaticly Login not working. :(
#14

I don`t know what dini_Get returns if it can`t find the respective line but try this then:

Код:
new tmp[50],tmp2[256]; GetPlayerIp(playerid,tmp,50); tmp2 = dini_Get(udb_encode(pInfo[playerid][name]),"IP");
if(strcmp(tmp,tmp2,true) || !strlen(tmp2)) {
	SendClientMessage(playerid, ADMIN,"Welcome to Rofl The Poffle Server!");
	SendClientMessage(playerid, ADMIN,"To save your stats + progress use: /register password!");
	SendClientMessage(playerid, ADMIN,"Have fun playing!"); }
else
{
	SendClientMessage(playerid,oranje,"You have been automaticly logged in!");
	OnPlayerLogin(playerid); 
}
return 1;
Reply


Messages In This Thread
Automaticly Login not working. :( - by `FuTuRe- - 28.01.2010, 17:16
Re: Automaticly Login not working. :( - by `FuTuRe- - 28.01.2010, 17:40
Re: Automaticly Login not working. :( - by WackoX - 28.01.2010, 17:43
Re: Automaticly Login not working. :( - by ~Dangun! - 28.01.2010, 17:48
Re: Automaticly Login not working. :( - by ~Dangun! - 29.01.2010, 12:47
Re: Automaticly Login not working. :( - by ray187 - 29.01.2010, 12:50
Re: Automaticly Login not working. :( - by ~Dangun! - 29.01.2010, 12:52
Re: Automaticly Login not working. :( - by ray187 - 29.01.2010, 12:52
Re: Automaticly Login not working. :( - by ~Dangun! - 29.01.2010, 12:56
Re: Automaticly Login not working. :( - by pagie1111 - 29.01.2010, 12:59
Re: Automaticly Login not working. :( - by ray187 - 29.01.2010, 13:01
Re: Automaticly Login not working. :( - by ray187 - 29.01.2010, 13:03
Re: Automaticly Login not working. :( - by ~Dangun! - 29.01.2010, 13:05
Re: Automaticly Login not working. :( - by ray187 - 29.01.2010, 13:07
Re: Automaticly Login not working. :( - by ~Dangun! - 29.01.2010, 13:11
Re: Automaticly Login not working. :( - by ray187 - 29.01.2010, 13:15

Forum Jump:


Users browsing this thread: 1 Guest(s)