10.10.2016, 10:37
Hey guys, what's wrong here ?
I am trying to make an intro, what's the problem
I have 5 Textdraws, they all show except this one
I am trying to make an intro, what's the problem
I have 5 Textdraws, they all show except this one
PHP код:
#define ShowOpeningTD(%1) TextDrawShowForPlayer(%1, OP1); TextDrawShowForPlayer(%1, OP2); TextDrawShowForPlayer(%1, OP3); TextDrawShowForPlayer(%1, OP4); TextDrawShowForPlayer(%1, OP5)
PHP код:
OP5 = TextDrawCreate(312.666687, 29.037025, "~y~Welcome to~n~~b~MILLITARY ~w~VS ~r~REBELS~n~~w~%s");
TextDrawLetterSize(OP5, 0.449999, 1.600000);
TextDrawAlignment(OP5, 2);
TextDrawColor(OP5, 0);
TextDrawSetShadow(OP5, 0);
TextDrawSetOutline(OP5, 0);
TextDrawBackgroundColor(OP5, 51);
TextDrawFont(OP5, 2);
TextDrawSetProportional(OP5, 1);
PHP код:
public OnPlayerConnect(playerid)
{
new string[128];
format(string, sizeof(string), "~y~Welcome to~n~~b~MILLITARY ~w~VS ~r~REBELS~n~~w~%s", RPN(playerid));
TextDrawSetString(OP5, string);
ShowOpeningTD(playerid);
return 1;
}