Master account system issue with double logins.
#2

Try this, use strcmp to compare strings instead of "==".

Code:
if(strcmp(Account[i][Username], name, true) == 0)
{
	SendClientMessage(playerid, COLOR_ERROR, "Someone is already connected with this account.") && SendClientMessage(playerid, COLOR_INFO, "Please login with a different username.");
	SetTimerEx("KickTimer", 200, false, "i", playerid); 
}
Reply


Messages In This Thread
Master account system issue with double logins. - by Stefhan - 14.04.2019, 12:24
Re: Master account system issue with double logins. - by Boarden - 14.04.2019, 12:43
Re: Master account system issue with double logins. - by Stefhan - 14.04.2019, 12:52

Forum Jump:


Users browsing this thread: 1 Guest(s)