Textdraw help.
#1

PHP код:
   paycheck[playerid] = CreatePlayerTextDraw(playerid240.0580.0"You got the paycheck");
    
PlayerTextDrawShow(playeridpaycheck[playerid]);
    
PlayerTextDrawAlignment(playeridpaycheck[playerid], 3);
    
PlayerTextDrawColor(playeridpaycheck[playerid], 0xFF0000FF); // Red text 
Why is this not working?Please help.
Reply
#2

https://sampwiki.blast.hk/wiki/PlayerTextDrawShow
Reply
#3

What is actually wrong?
Reply
#4

It does not show up the textdraw.
Reply
#5

Once again, did you use PlayerTextDrawShow? If not, it won't appear, even though it's created.
Reply
#6

It is shown over there.Please someone create it for me or fix this please.
Reply
#7

This is the correct format

PHP код:
new Text:FR2012;//on top of your script
public OnGameModeInit()
{
    
FR2012 TextDrawCreate(51321"FR-2012");
    
TextDrawLetterSize(Text:FR20120.51.5);
    
TextDrawTextSize(Text:FR201212);
    
TextDrawAlignment(Text:FR20120);
    
TextDrawColor(Text:FR2012, -65366);
    
TextDrawUseBox(Text:FR20120);
    
TextDrawSetShadow(Text:FR20122);
    
TextDrawBoxColor(Text:FR2012, -1347440726);
    
TextDrawSetOutline(Text:FR20122);
    
TextDrawBackgroundColor(Text:FR2012170);
    
TextDrawFont(Text:FR20123);
    
TextDrawSetProportional(Text:FR20121);
}
public 
OnPlayerSpawn(playerid)
{
        
TextDrawShowForPlayer(playeridFR2012);
    return 
1;

Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)