SA-MP Forums Archive
won't show me the textdraws - 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: won't show me the textdraws (/showthread.php?tid=570791)



won't show me the textdraws - Glossy42O - 13.04.2015

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;




Re: won't show me the textdraws - SequenceCuz - 13.04.2015

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


Re: won't show me the textdraws - Glossy42O - 13.04.2015

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.


Re: won't show me the textdraws - romas3110 - 13.04.2015

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


Re: won't show me the textdraws - Glossy42O - 13.04.2015

here
public OnFilterScriptInit()


Re: won't show me the textdraws - romas3110 - 13.04.2015

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);




Re: won't show me the textdraws - Glossy42O - 13.04.2015

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); 



Re: won't show me the textdraws - Cypress - 13.04.2015

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.