'Time Left' textdraw
#1

Hello all
Since my SA:MP dont work,I cant make a ingame textdraw.And I dont know how to make one without the game,since its very difficult.
But please can someone help me make/find a textdraw of 'Time left: X' like in this video (3:00)
[ame]http://www.youtube.com/watch?v=JHCCQlXRItU[/ame]

Please thats very important.
Thanks Nuriel.
Reply
#2

Actually, if you can make a /countdown command with timer, then I believe it's easy to replace the GameTextForAll to TextDraw.
Reply
#3

Quote:
Originally Posted by Dwane
View Post
Actually, if you can make a /countdown command with timer, then I believe it's easy to replace the GameTextForAll to TextDraw.
Thats not my problem.The coordinations of the TextDraw is my problem.
Reply
#4

You shouldn't even be scripting if your game doesn't load! How the hell do you plan on testing your freakin' code?
Reply
#5

Something like this?
pawn Code:
// On top of script:
new Text:CoutDown;

// In OnGameModeInit
CoutDown = TextDrawCreate(477 ,115 , "Time 06:00");
TextDrawFont(CoutDown , 1);
TextDrawLetterSize(CoutDown , 0.8, 5.6000000000000005);
TextDrawColor(CoutDown , 0xffffffFF);
TextDrawSetOutline(CoutDown , false);
TextDrawSetProportional(CoutDown , false);
TextDrawSetShadow(CoutDown , 1);
Reply
#6

Quote:
Originally Posted by RealCop228
View Post
You shouldn't even be scripting if your game doesn't load! How the hell do you plan on testing your freakin' code?
Lol he has the scripting spirit xD
Reply
#7

How's this?

http://www.movieserv.net/files/clock.png

pawn Code:
Textdraw0 = TextDrawCreate(611.000000, 120.000000, "TIME     06:30");
TextDrawAlignment(Textdraw0, 3);
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 2);
TextDrawLetterSize(Textdraw0, 0.440000, 1.800000);
TextDrawColor(Textdraw0, -1446714113);
TextDrawSetOutline(Textdraw0, 1);
TextDrawSetProportional(Textdraw0, 1);
Reply
#8

Quote:
Originally Posted by MP2
View Post
How's this?

http://www.movieserv.net/files/clock.png

pawn Code:
Textdraw0 = TextDrawCreate(611.000000, 120.000000, "TIME     06:30");
TextDrawAlignment(Textdraw0, 3);
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 2);
TextDrawLetterSize(Textdraw0, 0.440000, 1.800000);
TextDrawColor(Textdraw0, -1446714113);
TextDrawSetOutline(Textdraw0, 1);
TextDrawSetProportional(Textdraw0, 1);
Yes exacly,thanks a lot!
+rep
(edit: I have already given you reputation yesterday,I can't give you again now,so so sorry )
------------------------

Quote:
Originally Posted by RealCop228
View Post
You shouldn't even be scripting if your game doesn't load! How the hell do you plan on testing your freakin' code?
Well testing currectly is frozen.But if I need ingamr coordinations I use MTA and mod s0b...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)