Re: GameTextDraws - Use your own colors for GameTexts! -
rockhopper - 19.07.2014
Working Lol I forgot that _
Re: GameTextDraws - Use your own colors for GameTexts! -
kristo - 19.07.2014
pawn Код:
GTIsShown[playerid][0] = 0;
GTIsShown[playerid][1] = 0;
GTIsShown[playerid][2] = 0;
GTIsShown[playerid][3] = 0;
GTIsShown[playerid][4] = 0;
GTIsShown[playerid][5] = 0;
GTIsShown[playerid][6] = 0;
GTIsShown[playerid][7] = 0;
GTIsShown[playerid][8] = 0;
GTIsShown[playerid][9] = 0;
GTIsShown[playerid][10] = 0;
pawn Код:
for (new i; i < GAMETEXT_STYLES; i++) GTIsShown[playerid][i] = 0;
After this your code will look perfect imo.
Re: GameTextDraws - Use your own colors for GameTexts! -
iFarbod - 19.07.2014
Quote:
Originally Posted by kvann
pawn Код:
GTIsShown[playerid][0] = 0; GTIsShown[playerid][1] = 0; GTIsShown[playerid][2] = 0; GTIsShown[playerid][3] = 0; GTIsShown[playerid][4] = 0; GTIsShown[playerid][5] = 0; GTIsShown[playerid][6] = 0; GTIsShown[playerid][7] = 0; GTIsShown[playerid][8] = 0; GTIsShown[playerid][9] = 0; GTIsShown[playerid][10] = 0;
pawn Код:
for (new i; i < GAMETEXT_STYLES; i++) GTIsShown[playerid][i] = 0;
After this your code will look perfect imo.
|
Updated, just re-download.
https://github.com/iFarbod/GameTextF...ses/tag/v1.0.4
Re: GameTextDraws - Use your own colors for GameTexts! -
iFarbod - 20.07.2014
Quote:
Originally Posted by ******
You might be interested in this post from fixes.inc:
https://sampforum.blast.hk/showthread.php?pid=2903018#pid2903018
All the associated code for those additional types is here, to save you duplicating effort:
https://github.com/Y-Less/sa-mp-fixe...nc#L2659-L3082
That code creates both global and per-player TD for the 14 styles I listed.
I didn't think to add the message box one. May I suggest consistency in numbering? It doesn't make much sense to have vehicle names be style 7 in fixes.inc and style 8 here. Of course, there is no reason you should do, it would just be better IMHO.
|
I'm never used fixes.inc and i never know about that "GameTexts" is in fixes.inc as Textdraws. I Just maked my own include for my own use, but i decided to release it here. Since i saw someones need to use their own colors in GameTexts. Anyway, i obtained the colors from single-player with an ASI Plugin (Since i was single-player modder before SA-MP). And i designed the textdraws with Zamaroht's TD Designer. Anyway, this release is not going useful. I Think i must remove it OR ... . I Don't know.
Re: GameTextDraws - Use your own colors for GameTexts! -
iFarbod - 21.07.2014
Quote:
Originally Posted by ******
I didn't at all say remove it! I pointed you to existing code you could use to save you time, and suggested that you might want to maintain compatibility for everyone's sake. I know how long and hard replicating those styles is, since I've already done it, so why not try and save someone else the trouble?
Don't remove it - you already made it and if only one other person uses it, that's still good.
|
And about colors, i first used original gametext functions, then i taken a screenshot, after that, i picked the color using "
Instant Eyedropper".
Re: GameTextDraws - Use your own colors for GameTexts! -
SHE790 - 04.08.2014
Good Job Farbod +REP
Re: GameTextDraws - Use your own colors for GameTexts! -
AroseKhanNiazi - 20.08.2014
btw whats the format to use for it change the color for each text ?
Re: GameTextDraws - Use your own colors for GameTexts! -
iFarbod - 22.08.2014
Quote:
Originally Posted by AroseKhanNaizi
btw whats the format to use for it change the color for each text ?
|
https://github.com/iFarbod/GameTextFix/wiki
Update: added GameTextForTeam_
Re: GameTextDraws - Use your own colors for GameTexts! -
AroseKhanNiazi - 22.08.2014
Quote:
Originally Posted by iFarbod
|
it just simple use there we can now use colors like this in textdraw ? {FF00FF} ?
Re: GameTextDraws - Use your own colors for GameTexts! -
iFarbod - 22.08.2014
Quote:
Originally Posted by AroseKhanNaizi
it just simple use there we can now use colors like this in textdraw ? {FF00FF} ?
|
No, you can't embed colors in textdraws.
Re: GameTextDraws - Use your own colors for GameTexts! -
AroseKhanNiazi - 22.08.2014
Quote:
Originally Posted by iFarbod
No, you can't embed colors in textdraws.
|
okay..
Re: GameTextDraws - Use your own colors for GameTexts! -
Uberanwar - 27.08.2014
iFarBod, i suggest you to post a full screenshot of the gametexts so that people knows where is it located at
Re: GameTextDraws - Use your own colors for GameTexts! -
Hwang - 27.08.2014
Good job.
Re: GameTextDraws - Use your own colors for GameTexts! -
FlipperK119 - 29.08.2014
Thank yo'.
Re: GameTextDraws - Use your own colors for GameTexts! -
hitman14 - 08.09.2014
BestInclude +rep
Re: GameTextDraws - Use your own colors for GameTexts! -
OstGot - 30.07.2016
Can anybody redownload it plz?
Re: GameTextDraws - Use your own colors for GameTexts! -
oMa37 - 31.07.2016
Thanks for bumping this OstGot lol, This is really awesome.
Could anyone upload a download link please
Re: GameTextDraws - Use your own colors for GameTexts! -
Shinja - 02.08.2016
Link not working
Re: GameTextDraws - Use your own colors for GameTexts! -
Luicy. - 02.08.2016
Guys, simply create a textdraw and done.
Respuesta: GameTextDraws - Use your own colors for GameTexts! -
Marshmello - 11.07.2017
The Link Is Not Found? Repair Your Link