gorgeous-baker-92777
03/11/2023, 2:13 AMstraight-family-35431
03/11/2023, 2:13 AMbreezy-solstice-69394
03/11/2023, 2:13 AMgentle-london-6993
03/11/2023, 2:13 AMstraight-family-35431
03/11/2023, 2:13 AMgorgeous-baker-92777
03/11/2023, 2:13 AMgentle-london-6993
03/11/2023, 2:13 AM"-1"
gorgeous-baker-92777
03/11/2023, 2:14 AMbreezy-solstice-69394
03/11/2023, 2:14 AMgorgeous-baker-92777
03/11/2023, 2:14 AMgentle-london-6993
03/11/2023, 2:14 AMgentle-london-6993
03/11/2023, 2:14 AMbreezy-solstice-69394
03/11/2023, 2:15 AMbreezy-solstice-69394
03/11/2023, 2:15 AMbreezy-solstice-69394
03/11/2023, 2:15 AMalert-exabyte-91153
03/11/2023, 2:15 AMgentle-london-6993
03/11/2023, 2:15 AMdry-book-37643
03/11/2023, 2:15 AM// Gamemode text to greet Dobby
new const GREETING[] = "Hello, Dobby! Welcome to our game!";
// Function to display greeting to a player
public OnPlayerConnect(playerid)
{
// Define colors and formatting for greeting
new const COLOR_YELLOW[] = 0xFFFFAAFF;
new const COLOR_CYAN[] = 0x00FFFFFF;
new const COLOR_BLUE[] = 0x0000FFFF;
new const FORMAT_BOLD[] = "*";
// Construct formatted greeting message
new message[128];
format(message, sizeof(message), "%s%s%s%s %s%s%s",
FORMAT_BOLD, "{", COLOR_YELLOW, GREETING,
COLOR_CYAN, "- from the server team", FORMAT_BOLD);
// Send greeting message to player
SendClientMessage(playerid, COLOR_BLUE, message);
return 1;
}
gorgeous-baker-92777
03/11/2023, 2:15 AMbreezy-solstice-69394
03/11/2023, 2:15 AMbreezy-solstice-69394
03/11/2023, 2:16 AMalert-exabyte-91153
03/11/2023, 2:16 AMgorgeous-baker-92777
03/11/2023, 2:16 AMgentle-london-6993
03/11/2023, 2:16 AMgorgeous-baker-92777
03/11/2023, 2:16 AMbreezy-solstice-69394
03/11/2023, 2:16 AMstraight-family-35431
03/11/2023, 2:16 AMstraight-family-35431
03/11/2023, 2:16 AMbreezy-solstice-69394
03/11/2023, 2:16 AM