07.11.2016, 20:17
(
Last edited by XBoss30; 07/11/2016 at 08:20 PM.
Reason: ~ Updated
)
When I want to spawn I want a Text Draw to get hidden so I did this:
On top of the filterscript:
Under public OnPlayerSpawn(playerid):
And under public OnGameModeInIt():
Still this TextDraw is being displayed when i run it and spawn.
Any Help? NewBie Here
On top of the filterscript:
PHP Code:
new Text:XBoss30;
PHP Code:
public OnPlayerSpawn(playerid)
{
TextDrawHideForPlayer(playerid, XBoss30);
return 1;
}
PHP Code:
XBoss30 = TextDrawCreate(641.500000, 449.062500, "usebox");
TextDrawLetterSize(XBoss30, 0.000000, -13.879164);
TextDrawTextSize(XBoss30, -2.000000, 0.000000);
TextDrawAlignment(XBoss30, 1);
TextDrawColor(XBoss30, 255);
TextDrawUseBox(XBoss30, true);
TextDrawBoxColor(XBoss30, 255);
TextDrawSetShadow(XBoss30, 0);
TextDrawSetOutline(XBoss30, 0);
TextDrawBackgroundColor(XBoss30, 255);
TextDrawFont(XBoss30, 0);
TextDrawSetProportional(XBoss30, 1); // Bottom Black Bar
Any Help? NewBie Here