won't show me the textdraws
#1

why wont it ?

PHP код:
CMD:teleportmenu(playeridparams[])
{
  
TextDrawShowForPlayer(playeridTextdraw0);
  
TextDrawShowForPlayer(playeridTextdraw1);
  
TextDrawShowForPlayer(playeridTextdraw2);
  
TextDrawShowForPlayer(playeridTextdraw3);
  
TextDrawShowForPlayer(playeridTextdraw4);
  
TextDrawShowForPlayer(playeridTextdraw5);
  
TextDrawShowForPlayer(playeridTextdraw6);
  
TextDrawShowForPlayer(playeridTextdraw7);
  return 
1;

Reply
#2

Did you just have the problem with this? High-roller man
Reply
#3

This is that i'm high roller doesn't mean i'm pro scripter, it's just posts, lmao.

Also, don't shit-post on my threads unless u gonna help me.
Reply
#4

can we take a look at where you create the textdraws?
Reply
#5

here
public OnFilterScriptInit()
Reply
#6

my apologies, i should have elaborated, by taking a look at where you created your text draws i meant for example

PHP код:
public OnFilterScriptInit()
{
    
Textdraw1 TextDrawCreate(codecodecode);

Reply
#7

Did you mean this?
PHP код:
    Textdraw0 TextDrawCreate(371.000000173.437500"usebox");
    
TextDrawLetterSize(Textdraw00.36500013.812152);
    
TextDrawTextSize(Textdraw0245.0000000.000000);
    
TextDrawAlignment(Textdraw01);
    
TextDrawColor(Textdraw00);
    
TextDrawUseBox(Textdraw0true);
    
TextDrawBoxColor(Textdraw0102);
    
TextDrawSetShadow(Textdraw00);
    
TextDrawSetOutline(Textdraw00);
    
TextDrawFont(Textdraw00);

    
Textdraw1 TextDrawCreate(248.000000223.562500"Los santos");
    
TextDrawLetterSize(Textdraw10.2600001.026876);
    
TextDrawAlignment(Textdraw11);
    
TextDrawColor(Textdraw116777215);
    
TextDrawSetShadow(Textdraw10);
    
TextDrawSetOutline(Textdraw11);
    
TextDrawBackgroundColor(Textdraw151);
    
TextDrawFont(Textdraw12);
    
TextDrawSetProportional(Textdraw11);
    
TextDrawSetSelectable(Textdraw1true);

    
Textdraw2 TextDrawCreate(324.000000223.562500"1000$");
    
TextDrawLetterSize(Textdraw20.2980000.904375);
    
TextDrawAlignment(Textdraw21);
    
TextDrawColor(Textdraw28388863);
    
TextDrawSetShadow(Textdraw20);
    
TextDrawSetOutline(Textdraw21);
    
TextDrawBackgroundColor(Textdraw251);
    
TextDrawFont(Textdraw22);
    
TextDrawSetProportional(Textdraw21);

    
Textdraw3 TextDrawCreate(248.000000175.437500"Teleport Menu");
    
TextDrawLetterSize(Textdraw30.4499991.600000);
    
TextDrawAlignment(Textdraw31);
    
TextDrawColor(Textdraw3, -5963521);
    
TextDrawSetShadow(Textdraw30);
    
TextDrawSetOutline(Textdraw31);
    
TextDrawBackgroundColor(Textdraw351);
    
TextDrawFont(Textdraw33);
    
TextDrawSetProportional(Textdraw31);

    
Textdraw4 TextDrawCreate(247.500000242.812500"San fierro");
    
TextDrawLetterSize(Textdraw40.2814991.197500);
    
TextDrawAlignment(Textdraw41);
    
TextDrawColor(Textdraw416777215);
    
TextDrawSetShadow(Textdraw40);
    
TextDrawSetOutline(Textdraw41);
    
TextDrawBackgroundColor(Textdraw451);
    
TextDrawFont(Textdraw42);
    
TextDrawSetProportional(Textdraw41);
    
TextDrawSetSelectable(Textdraw4true);

    
Textdraw5 TextDrawCreate(321.500000242.812500"2000$");
    
TextDrawLetterSize(Textdraw50.2974991.031249);
    
TextDrawAlignment(Textdraw51);
    
TextDrawColor(Textdraw58388863);
    
TextDrawSetShadow(Textdraw50);
    
TextDrawSetOutline(Textdraw51);
    
TextDrawBackgroundColor(Textdraw551);
    
TextDrawFont(Textdraw52);
    
TextDrawSetProportional(Textdraw51);

    
Textdraw6 TextDrawCreate(247.500000263.375000"Las venturas");
    
TextDrawLetterSize(Textdraw60.2335001.096875);
    
TextDrawAlignment(Textdraw61);
    
TextDrawColor(Textdraw616777215);
    
TextDrawSetShadow(Textdraw60);
    
TextDrawSetOutline(Textdraw61);
    
TextDrawBackgroundColor(Textdraw651);
    
TextDrawFont(Textdraw62);
    
TextDrawSetProportional(Textdraw61);
    
TextDrawSetSelectable(Textdraw6true);

    
Textdraw7 TextDrawCreate(324.500000262.500000"4000$");
    
TextDrawLetterSize(Textdraw70.3125000.987500);
    
TextDrawAlignment(Textdraw71);
    
TextDrawColor(Textdraw78388863);
    
TextDrawSetShadow(Textdraw70);
    
TextDrawSetOutline(Textdraw71);
    
TextDrawBackgroundColor(Textdraw751);
    
TextDrawFont(Textdraw72);
    
TextDrawSetProportional(Textdraw71); 
Reply
#8

If that's all of the textdraws you have, you obviously don't break any limit. Try just with 1 textdraw. If it doesn't show up, play with it's coordinates for ex: 150.000000, 150.000000, ...

Also make debug messages before and after creating your textdraws to see if they're being created properly.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)