25.03.2018, 21:00
why doesn't the strcat part shows ingame?
actually it only shows the %s has connected...
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;
}


