Need help with accessing string arrays
#5

Well, shouldn't this work?

Код:
		new pw[1000];
		pw = dini_Get(gPlayerfile[playerid], "Password");
        gPlayerlogged[playerid] = 1;
		for (new x = 0; x<=(sizeof(pw)); x++)
		{
			if (params[x] != pw[x]) gPlayerlogged[playerid] = 0;
		}
I know it could be done alot easier, but I can't use strcmp :S
Reply


Messages In This Thread
Need help with accessing string arrays - by iMr - 02.05.2009, 07:57
Re: Need help with accessing string arrays - by yom - 02.05.2009, 08:07
Re: Need help with accessing string arrays - by iMr - 02.05.2009, 09:19
Re: Need help with accessing string arrays - by HB - 02.05.2009, 09:35
Re: Need help with accessing string arrays - by iMr - 02.05.2009, 11:11
Re: Need help with accessing string arrays - by pen_theGun - 02.05.2009, 13:17

Forum Jump:


Users browsing this thread: 1 Guest(s)