Text Draw's are not hidding/destroying
#1

When I want to spawn I want a Text Draw to get hidden so I did this:

On top of the filterscript:
PHP Code:
new Text:XBoss30
Under public OnPlayerSpawn(playerid):
PHP Code:
public OnPlayerSpawn(playerid)
{
    
TextDrawHideForPlayer(playeridXBoss30);
    return 
1;

And under public OnGameModeInIt():
PHP Code:
 XBoss30 TextDrawCreate(641.500000449.062500"usebox");
    
TextDrawLetterSize(XBoss300.000000, -13.879164);
    
TextDrawTextSize(XBoss30, -2.0000000.000000);
    
TextDrawAlignment(XBoss301);
    
TextDrawColor(XBoss30255);
    
TextDrawUseBox(XBoss30true);
    
TextDrawBoxColor(XBoss30255);
    
TextDrawSetShadow(XBoss300);
    
TextDrawSetOutline(XBoss300);
    
TextDrawBackgroundColor(XBoss30255);
    
TextDrawFont(XBoss300);
    
TextDrawSetProportional(XBoss301); // Bottom Black Bar 
Still this TextDraw is being displayed when i run it and spawn.
Any Help? NewBie Here
Reply


Messages In This Thread
Text Draw's are not hidding/destroying - by XBoss30 - 07.11.2016, 20:17
Re: Text Draw's are not hidding/destroying - by Magic11 - 07.11.2016, 21:00
Re: Text Draw's are not hidding/destroying - by XBoss30 - 08.11.2016, 15:15
Re: Text Draw's are not hidding/destroying - by NaS - 08.11.2016, 16:12
Re: Text Draw's are not hidding/destroying - by XBoss30 - 08.11.2016, 16:21
Re: Text Draw's are not hidding/destroying - by Shaheen - 08.11.2016, 19:42
Re: Text Draw's are not hidding/destroying - by MikeB - 08.11.2016, 19:50
Re: Text Draw's are not hidding/destroying - by Shaheen - 08.11.2016, 19:55
Re: Text Draw's are not hidding/destroying - by XBoss30 - 08.11.2016, 19:55
Re: Text Draw's are not hidding/destroying - by Shaheen - 08.11.2016, 20:01

Forum Jump:


Users browsing this thread: 1 Guest(s)