strcat
#1

why doesn't the strcat part shows ingame?

actually it only shows the %s has connected...


Код:
public OnPlayerConnect(playerid)
{
	new
		String[128],
		PlayerName[MAX_PLAYER_NAME];
		
	GetPlayerName(playerid, PlayerName, sizeof ( PlayerName ));
	
	format(String, sizeof ( String ), "{C3C3C3}GAME: %s has entered the server", PlayerName);
	
	SendClientMessageToAll(-1, String);
	
	new
		 String2[256];
	
	strcat(String2, "{FFCC00}Welcome to GTA Wargounds.");
	strcat(String2, "\n{FFCC00}If you need any help, don't hesitate to ask");
	strcat(String2, "\n{C3C3C3}Here are some commands to get you started");
	strcat(String2, "\n{C3C3C3}/cmds, /help, /rules");
	
	SendClientMessage(playerid,-1,String2);
	
	GameTextForPlayer(playerid, "~w~GTA ~r~ WARGROUNDS", 5000, 6);
	
	return true;
}
Reply


Messages In This Thread
strcat - by ivndosos - 25.03.2018, 21:00
Re: strcat - by Nru - 25.03.2018, 21:06
Re: strcat - by Gforcez - 25.03.2018, 21:10
Re: strcat - by Jefff - 25.03.2018, 21:45
Re: strcat - by [WSF]ThA_Devil - 25.03.2018, 21:53

Forum Jump:


Users browsing this thread: 1 Guest(s)