Role Play name
#2

edit: Fuck my indentation!
Code:
	new plname[MAX_PLAYER_NAME];
	GetPlayerName(playerid, plname, sizeof(plname));
  new namestring = strfind(plname, "_", true);
	if(namestring == -1)
	{
	  SendClientMessage(playerid, COLOR_YELLOW, "Your name is not a role play name.");
	  Kick(playerid);
		return 1;
	}
Reply


Messages In This Thread
Role Play name - by syruz - 24.10.2009, 18:44
Re: Role Play name - by Eazy_Efolife - 24.10.2009, 18:49
Re: Role Play name - by syruz - 25.10.2009, 00:36

Forum Jump:


Users browsing this thread: 1 Guest(s)