help | Part of name
#6

i think you mean something like this

Код:
public OnPlayerConnect ( playerid )
{
	new playerName[24];
	GetPlayerName( playerid, playerName, 24 );
	
	if ( strcmp( playerName, "RedNick", true ) == 0 ) SetPlayerColor( playerid, 0xFF0000AA );

	if ( strfind( playerName, "Green", true ) != -1 ) SetPlayerColor( playerid, 0x339966AA );

	return 1;
}
Reply


Messages In This Thread
help | Part of name - by borisblat - 13.05.2009, 21:06
Re: help | Part of name - by Think - 13.05.2009, 21:07
Re: help | Part of name - by MX_Master - 13.05.2009, 21:09
Re: help | Part of name - by borisblat - 13.05.2009, 21:10
Re: help | Part of name - by borisblat - 13.05.2009, 21:15
Re: help | Part of name - by MX_Master - 13.05.2009, 21:19
Re: help | Part of name - by Think - 13.05.2009, 21:21
Re: help | Part of name - by borisblat - 13.05.2009, 21:28
Re: help | Part of name - by Think - 13.05.2009, 21:37
Re: help | Part of name - by MX_Master - 13.05.2009, 21:55

Forum Jump:


Users browsing this thread: 1 Guest(s)