SA-MP Forums Archive
Help Please - 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: Help Please (/showthread.php?tid=381480)



Help Please - teomakedonija - 29.09.2012

How to get left the numbers of Exp Sistem ?

That is Script

Код HTML:
exp[playerid] = TextDrawCreate(588.000000, 105.000000, "_");
	TextDrawBackgroundColor(exp[playerid], 255);
	TextDrawFont(exp[playerid], 1);
	TextDrawLetterSize(exp[playerid], 1.049998, 0.699997);
	TextDrawColor(exp[playerid], -1);
	TextDrawSetOutline(exp[playerid], 0);
	TextDrawSetProportional(exp[playerid], 1);
	TextDrawSetShadow(exp[playerid], 1);
	TextDrawUseBox(exp[playerid], 1);
	TextDrawBoxColor(exp[playerid], 0x00000033);
	TextDrawTextSize(exp[playerid], 496.000000, 16.000000);
Picture:

http://i.imgur.com/73He1.png


Re: Help Please - M3mPHi$_S3 - 29.09.2012

did'nt get you ?


Re: Help Please - SmithyComp - 29.09.2012

I don't understand, which text do you want to know the location of?


Re: Help Please - teomakedonija - 29.09.2012

How to set position on text ?


Re: Help Please - teomakedonija - 29.09.2012

Bump !


Re: Help Please - teomakedonija - 30.09.2012

Bump ! Please Help me how to set position on text ? I set this TextDrawTextSize(exp[playerid], 496.000000, 16.000000); to 500.000000 , 16.000000 and box going very big and go right please help me !


Re: Help Please - M3mPHi$_S3 - 30.09.2012

Lol we dont get you ... You want to set player position in this textdraw. Cant lol becouse it's not an comands you'r just creating an textdraw : If not so let me know your question clearly :


Re: Help Please - trapstar2020 - 30.09.2012

http://bsndesign.webs.com/tde.htm


Re: Help Please - M3mPHi$_S3 - 30.09.2012

pawn Код:
new text:exp;

public OnGameModeInit
{
  exp= TextDrawCreate(588.000000, 105.000000, "_");
    TextDrawBackgroundColor(exp[playerid], 255);
    TextDrawFont(exp, 1);
    TextDrawLetterSize(exp, 1.049998, 0.699997);
    TextDrawColor(exp, -1);
    TextDrawSetOutline(exp, 0);
    TextDrawSetProportional(exp, 1);
    TextDrawSetShadow(exp, 1);
    TextDrawUseBox(exp, 1);
    TextDrawBoxColor(exp, 0x00000033);
    TextDrawTextSize(exp, 496.000000, 16.000000);
              return 1;
}
public OnPlayerConnect
{
    TextDrawShowForPlayer([playerid], exp);
}



Re: Help Please - teomakedonija - 30.09.2012

Quote:
Originally Posted by мυ∂υℓ_вacнα
Посмотреть сообщение
pawn Код:
new text:exp;

public OnGameModeInit
{
  exp= TextDrawCreate(588.000000, 105.000000, "_");
    TextDrawBackgroundColor(exp[playerid], 255);
    TextDrawFont(exp, 1);
    TextDrawLetterSize(exp, 1.049998, 0.699997);
    TextDrawColor(exp, -1);
    TextDrawSetOutline(exp, 0);
    TextDrawSetProportional(exp, 1);
    TextDrawSetShadow(exp, 1);
    TextDrawUseBox(exp, 1);
    TextDrawBoxColor(exp, 0x00000033);
    TextDrawTextSize(exp, 496.000000, 16.000000);
              return 1;
}
public OnPlayerConnect
{
    TextDrawShowForPlayer(playerid, exp);
}
error 035: argument type mismatch (argument 2)

pawn Код:
TextDrawShowForPlayer(playerid, exp);
<---- This is eror