09.12.2011, 09:06
OnGameModeInit
OnPlayerSpawn
Text draw doesn't work at all, help please!
pawn Код:
foreach(Player, playerid)
{
firetraining[playerid] = TextDrawCreate(555.000000, 325.000000, "Welcome!");
TextDrawBackgroundColor(firetraining[playerid], 255);
TextDrawFont(firetraining[playerid], 1);
TextDrawLetterSize(firetraining[playerid], 0.219999, 1.000000);
TextDrawColor(firetraining[playerid], -1);
TextDrawSetOutline(firetraining[playerid], 0);
TextDrawSetProportional(firetraining[playerid], 1);
TextDrawSetShadow(firetraining[playerid], 1);
TextDrawUseBox(firetraining[playerid], 1);
TextDrawBoxColor(firetraining[playerid], 168430456);
TextDrawTextSize(firetraining[playerid], 629.000000, 41.000000);
}
pawn Код:
TextDrawShowForPlayer(playerid, firetraining[playerid]);