22.03.2014, 01:14
pawn Код:
public OnGameModeInit()
{
ForumURL = TextDrawCreate(800.000000, 131.000000, "<< COD TDM >>");
TextDrawBackgroundColor(ForumURL, 255);
TextDrawFont(ForumURL, 2);
TextDrawLetterSize(ForumURL, 0.280000, 1.399999);
TextDrawColor(ForumURL, 3394815);
TextDrawSetOutline(ForumURL, 1);
TextDrawSetProportional(ForumURL, 1);
CODTDM = TextDrawCreate(800.000000, 313.000000, "/stats /cmds /ghelp");
TextDrawBackgroundColor(CODTDM, 255);
TextDrawFont(CODTDM, 2);
TextDrawLetterSize(CODTDM, 0.280000, 1.399999);
TextDrawColor(CODTDM, 3394815);
TextDrawSetOutline(CODTDM, 1);
TextDrawSetProportional(CODTDM, 1);
return 1;
}
public OnPlayerSpawn(playerid)
{
TextDrawShowForPlayer(playerid, ForumURL);
TextDrawShowForPlayer(playerid, CODTDM);
}