SA-MP Forums Archive
Textdraw from gametext [Luby's Drift Counter] - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Textdraw from gametext [Luby's Drift Counter] (/showthread.php?tid=71239)



Textdraw from gametext [Luby's Drift Counter] - gtalover12 - 31.03.2009

hey I completely failed at trying to convert the Gamtext used in Lubys Drift Counter to Textdraw wich i made with a textdraw maker, Yet again this is one of my not very good sides of scripting

Instead of sending the messy code(i messed some stuff up ) ill send the textdaw in the .txd format as u make it

http://pastebin.com/f1dee373b

And i didn't know about all this " split " and stuff as i don't know much about textdraws, floats and file functions - bad sides(cant do it ) so if ya can help me be greatfull, also sorry for alot of new topics lately ive been busy and want to open my server to the public this week
thanks
Joe


Re: Textdraw from gametext [Luby's Drift Counter] - ICECOLDKILLAK8 - 31.03.2009

This should work,
Even though you could have used 1 Text Draw for it all instead of creating 4,
http://pastebin.com/fff1b3fa

EDIT: Updated, Redownload
EDIT2: Updated again, Redownload
EDIT3: Updated AGAIN, Redownload
EDIT4: Updated AGAIN, Redownload


Re: Textdraw from gametext [Luby's Drift Counter] - gtalover12 - 31.03.2009

Mmmm, looks like it updates with the points and everything but thares a problem :



Also, it does the same with " Earned MONEY$ " , i don't see the " Your Drifting " either, idk why do you?

Same thing with your 4th update ..


Re: Textdraw from gametext [Luby's Drift Counter] - ICECOLDKILLAK8 - 31.03.2009

You have to shut down your server then start it up again,
You cant just reload the FS,
Thats why your getting problems


Re: Textdraw from gametext [Luby's Drift Counter] - gtalover12 - 31.03.2009

WOOT thanks dude it works Love list:

JeNkStAX
luby

Thanks, i just had to re-orgonise some stuff in server.cfg, THANKKYYYYYOOOOU!!!!!!! ill put creds to you and luby ^^ - you for doing it for me


Re: Textdraw from gametext [Luby's Drift Counter] - Ignas1337 - 27.06.2009

about the code.. wouldn't it be easier like..
new Textdraw[MAX_PLAYERS][4] ? and then a loop. there would be less lines that way.


Re: Textdraw from gametext [Luby's Drift Counter] - illay - 27.06.2009

Example

pawn Код:
new string[ 40 ];

format(string,sizeof( string ), "Points: %d", Points...);
TextDrawSetString(TextDraw0,string);