Textdraw help
#1

why my textdraw don't show me this is the code

PHP код:
new Text:clan2;
 
//========CLAN==--------------------
    
clan2 TextDrawCreate(635.0,10.0,"~b~YOUR ~w~CLAN");
    
TextDrawUseBox(clan2,0);
    
TextDrawAlignment(clan2,3);
    
TextDrawBoxColor(clan2,0x000000FF);
    
TextDrawFont(clan23);
    
TextDrawLetterSize(clan20.401.1);
    
TextDrawBackgroundColor(clan2,0x000000AA);
    
TextDrawColor(clan2,0xFF0000CC);
    
TextDrawSetOutline(clan2,1);
    
TextDrawSetShadow(clan2,1); 
Reply
#2

have you used TextDrawShowForPlayer whereu want the textdraw get showed ?
Reply
#3

you will need to use

TextDrawShowForPlayer(playerid,clan2);
put that under OnPlayerSpawn or Connect whenever you want to show the textdraw to the player

WIKI:=: https://sampwiki.blast.hk/wiki/TextDrawShowForPlayer
Reply
#4

i have this error (307 : error 010: invalid function or declaration

clan2 = TextDrawCreate(635.0,10.0,"~b~YOUR ~w~CLAN");
Reply
#5

Код:
Top of the Script :
new Text:clan2;
Under OnGameModeInit or Filterscript ...
 //========CLAN==--------------------
    clan2 = TextDrawCreate(635.0,10.0,"~b~YOUR ~w~CLAN");
    TextDrawUseBox(clan2,0);
    TextDrawAlignment(clan2,3);
    TextDrawBoxColor(clan2,0x000000FF);
    TextDrawFont(clan2, 3);
    TextDrawLetterSize(clan2, 0.40, 1.1);
    TextDrawBackgroundColor(clan2,0x000000AA);
    TextDrawColor(clan2,0xFF0000CC);
    TextDrawSetOutline(clan2,1);
    TextDrawSetShadow(clan2,1); 

Under OnPlayerSpawn or OnPlayerConnect
   TextDrawShowForPlayer(playerid, clan2);
try this ...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)