SA-MP Forums Archive
textDraw Help !! For rep +1 - 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: textDraw Help !! For rep +1 (/showthread.php?tid=329806)



textDraw Help !! For rep +1 - Avi57 - 30.03.2012

Guys i wanna made this SpeedBar. How can i make ??


and i made this with TextDraw.whenever i Join server it doesnot appear. i need to do /text and then Load Project.


Thanks in Advance.
Avi.


Re: textDraw Help !! For rep +1 - xDeadlyBoy - 30.03.2012

for making the speed bar you just need to design the text draw and script it with the speed and damage.
for showing a textdraw use:
pawn Код:
TextDrawShowForPlayer(playerid);



Re: textDraw Help !! For rep +1 - Avi57 - 30.03.2012

is there any Example that can Help me ??


Re: textDraw Help !! For rep +1 - captainjohn - 30.03.2012

Go to FilterScripts section, there's plenty of similar scripts that will be good for you to use.


Re: textDraw Help !! For rep +1 - Richie© - 30.03.2012

Use Zamaroht's Textdraw Editor and you can make it exactly the way you want it! It can be found in the filterscript section.


Re: textDraw Help !! For rep +1 - Avi57 - 30.03.2012

thats what i have !! But im not able to make it thats why i want anyone to make it for me !!!


Re: textDraw Help !! For rep +1 - Avi57 - 30.03.2012

Guys i made this:
Код:
#include <a_samp>

new Text:Textdraw0;

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
	print("\n--------------------------------------");
	print(" Blank Filterscript by your name here");
	print("--------------------------------------\n");
	
	TextDrawShowForPlayer(playerid);
	Textdraw0 = TextDrawCreate(238.000000,385.000000,"AirSpeed");
    TextDrawUseBox(Textdraw0,1);
    TextDrawBoxColor(Textdraw0,0x0000ff33);
    TextDrawTextSize(Textdraw0,69.000000,106.000000);
    TextDrawAlignment(Textdraw0,2);
    TextDrawBackgroundColor(Textdraw0,0x00000066);
    TextDrawFont(Textdraw0,0);
    TextDrawLetterSize(Textdraw0,0.899999,1.800000);
    TextDrawColor(Textdraw0,0xffffffff);
    TextDrawSetOutline(Textdraw0,1);
    TextDrawSetProportional(Textdraw0,1);
	return 1;
	#endif
Getting Error:
Код:
C:\Documents and Settings\User\Desktop\New Folder\filterscripts\workbar.pwn(31) : warning 203: symbol is never used: "Textdraw0"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.



Re: textDraw Help !! For rep +1 - Ronaldo_raul™ - 30.03.2012

Thats not a error. Its a warning, read the line again.

And that becasue your not using Textdraw0 in your script.


OFF TOPIC - Agar tumhe waise script joh image mein dikhai hai waisi chahiye toh mein bana sakta hu. PM me.