strcmp not working 100% safe
#1

Hi there.

Iґm using one of those at OnPlayerConnect:

Код:
	if(!strcmp(PlayerName, "[Boobs]Andre", true))
	{
	boobsleader[playerid] = 1;
	boobsmember[playerid] = 1;
	}
But It doesnt seem to work solid. Even users without the correct name (but a pretty similar one) get the value assigned. But I only want the EXACT nameґs value setted. Whats the problem?
Reply


Messages In This Thread
strcmp not working 100% safe - by Striker_Moe - 01.11.2009, 14:34
Re: strcmp not working 100% safe - by dice7 - 01.11.2009, 14:42
Re: strcmp not working 100% safe - by introzen - 01.11.2009, 15:06
Re: strcmp not working 100% safe - by cyber_punk - 01.11.2009, 15:08

Forum Jump:


Users browsing this thread: 2 Guest(s)