SA-MP Forums Archive
Textdraw problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Textdraw problem (/showthread.php?tid=610698)



Textdraw problem - xXtremeXx - 27.06.2016

Guys i was making a textdraw and got no errors but still it doesn't appear in game. Code is this:-
PHP код:
new Text:Textdraw1;
and 
public 
OnGameModeInit()
{
    
Textdraw1 TextDrawCreate(42.5 ,451 "COMINGSOON.com");
    
TextDrawFont(Textdraw1 3);
    
TextDrawLetterSize(Textdraw1 0.53.5);
    
TextDrawColor(Textdraw1 0x00ff26FF);
    
TextDrawSetOutline(Textdraw1 false);
    
TextDrawSetProportional(Textdraw1 true);
    
TextDrawSetShadow(Textdraw1 1);
    return 
1;
}
and
public 
OnPlayerSpawn(playerid)
{
    
TextDrawShowForAll(Textdraw1);
    return 
1;

Please help me why isn't it appearing?


Re: Textdraw problem - xXtremeXx - 27.06.2016

Can someone Please help?


Re: Textdraw problem - F1N4L - 27.06.2016

Код:
public OnPlayerSpawn(playerid) 
{ 
    TextDrawShowForPlayer(playerid, Textdraw1); 
    return 1; 
}