16.12.2012, 11:32
pawn Код:
public OnPlayerSpawn(playerid)
{
Textdraw0[playerid] = CreatePlayerTextDraw(playerid, 152.628448, 100.693260, "WELCOME TO MY TEST SERVER");
PlayerTextDrawLetterSize(playerid, Textdraw0[playerid], 0.500398, 3.322310);
PlayerTextDrawAlignment(playerid, Textdraw0[playerid], 2);
PlayerTextDrawColor(playerid, Textdraw0[playerid], -2147483393);
PlayerTextDrawSetShadow(playerid, Textdraw0[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw0[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Textdraw0[playerid], 51);
PlayerTextDrawFont(playerid, Textdraw0[playerid], 3);
PlayerTextDrawSetProportional(playerid, Textdraw0[playerid], 1);
//spawnmessages
SendClientMessage(playerid, COLOR_GREEN, "Welcome to my Server");
SendClientMessage(playerid, COLOR_RED, "Here are my scripts and maps for testing.");
SendClientMessage(playerid, COLOR_ORANGE, "This is only a test server");
SendClientMessage(playerid, COLOR_WHITE, "/info for a list of commands");
SetPlayerInterior(playerid, 0);
return 1;
}