09.12.2011, 09:22
Quote:
OnGameModeInit
pawn Код:
pawn Код:
|
pawn Код:
//Top of script
new Text:firetraining;
public OnGameModeInIt()
{
firetraining = TextDrawCreate(555.000000, 325.000000, "Welcome!");
TextDrawBackgroundColor(firetraining, 255);
TextDrawFont(firetraining, 1);
TextDrawLetterSize(firetraining, 0.219999, 1.000000);
TextDrawColor(firetraining, -1);
TextDrawSetOutline(firetraining, 0);
TextDrawSetProportional(firetraining, 1);
TextDrawSetShadow(firetraining, 1);
TextDrawUseBox(firetraining, 1);
TextDrawBoxColor(firetraining, 168430456);
TextDrawTextSize(firetraining, 629.000000, 41.000000);
}
public OnPlayerConnect(playerid)
{
//This is used to show the player the textdraw when they connect.
TextDrawShowForPlayer(playerid, firetraining);
}