GameTextDraws - Use your own colors for GameTexts! -
iFarbod - 18.07.2014
GameText Library
What's good with this? Why you should use this?
- Use your own colors in GameTexts. Maybe Color codes (~r~, ~g~, ... isn't enough for someones!
)
- Fix for buggy styles, like style 0, 1, 2, 5
- New styles! Coming soon in next versions!
How you can use this?
Simple, Just download it from
here. Then place files in your pawno/include folder.
Usage is simple, Just include the library by following code:
Then take a look at the
GitHub wiki of this project.
Functions
pawn Code:
GameTextForPlayer_(playerid, string[], time, style, color = DEFAULT_COLOR);
GameTextForAll_(string[], time, style, color = DEFAULT_COLOR);
ScreenShots
Styles using this Library (Like originals)
Style 0
You can see original styles in
here.
Style 7
Style 8
Style 9
Style 10
Style 4 with custom color.
Re: GameTextDraws - Use your own colors for GameTexts! -
JonathanW - 18.07.2014
Nice.I'm using it
Re: GameTextDraws - Use your own colors for GameTexts! -
iFarbod - 18.07.2014
Quote:
Originally Posted by JonathanW
Nice.I'm using it
|
Thanks
Re: GameTextDraws - Use your own colors for GameTexts! -
Younes44 - 18.07.2014
Good Work
Rep
Re: GameTextDraws - Use your own colors for GameTexts! -
kristo - 18.07.2014
The example script has a small bug in it, GameTextForAllOthers_ is missing the playerid parameter. This actually is quite useful and I'm not one of the people who comments "useful" and "nice" everywhere.
Re: GameTextDraws - Use your own colors for GameTexts! -
iFarbod - 18.07.2014
Quote:
Originally Posted by Younes44
Good Work
Rep
|
Thanks for your comment.
Quote:
Originally Posted by kvann
The example script has a small bug in it, GameTextForAllOthers_ is missing the playerid parameter. This actually is quite useful and I'm not one of the people who comments "useful" and "nice" everywhere.
|
Thanks, Fixed
https://github.com/iFarbod/GameTextF.../GTFixTest.pwn
New Styles coming in next version,
I'm trying to design the textdraws like the original ones in GTA:SA, Such as :
-TextBox
-Vehicle Name
-Area Name
-Subtitle
-Radio Name (Tuned/UnTuned)
Hope it will be useful.
Re: GameTextDraws - Use your own colors for GameTexts! -
iFarbod - 18.07.2014
Style 7 has been added. (A Good style for any type of text)
Style 8 has been added. (Vehicle Name from single-player)
Style 9 has been added. (Text style after stunt and Subtitles)
Re: GameTextDraws - Use your own colors for GameTexts! -
ScripteRNaBEEL - 18.07.2014
awesome work mate......
Re: GameTextDraws - Use your own colors for GameTexts! -
Biesmen - 18.07.2014
Edit: Nevermind, post can be removed.
Re: GameTextDraws - Use your own colors for GameTexts! -
kristo - 18.07.2014
You could make it much easier for future modifications: Make a definition for the array sizes and reset the values with a loop. Then adding styles would be riddiculously easy for you.
Re: GameTextDraws - Use your own colors for GameTexts! -
iFarbod - 18.07.2014
Quote:
Originally Posted by kvann
You could make it much easier for future modifications: Make a definition for the array sizes and reset the values with a loop. Then adding styles would be riddiculously easy for you.
|
Updated. Thanks for notification.
Re: GameTextDraws - Use your own colors for GameTexts! -
kurta999 - 18.07.2014
Nice, I'll use it.
Re: GameTextDraws - Use your own colors for GameTexts! -
AroseKhanNiazi - 18.07.2014
loved it please post pics of each style
Re: GameTextDraws - Use your own colors for GameTexts! -
iFarbod - 19.07.2014
Style 10, and some screenshots added to first post.
Re: GameTextDraws - Use your own colors for GameTexts! -
GrandTheftAut0 - 19.07.2014
Good work keep it up
Re: GameTextDraws - Use your own colors for GameTexts! -
HolisticDev - 19.07.2014
I like this.
Re: GameTextDraws - Use your own colors for GameTexts! -
iFarbod - 19.07.2014
Quote:
Originally Posted by HolisticDev
I like this.
|
Thanks, Enjoy the new styles.
Example using custom colors:
Style 4 with custom color.
Re: GameTextDraws - Use your own colors for GameTexts! -
rockhopper - 19.07.2014
Style 10 doesn't work for me
I cant see the gametext but if i select style 0 then it is ok What's the problem ?>
Re: GameTextDraws - Use your own colors for GameTexts! -
MehranGta - 19.07.2014
useful for me,
thanks, I 'll use it.
+REP
Re: GameTextDraws - Use your own colors for GameTexts! -
iFarbod - 19.07.2014
Quote:
Originally Posted by rockhopper
Style 10 doesn't work for me I cant see the gametext but if i select style 0 then it is ok What's the problem ?>
|
Re-Download it, then use this: (Maybe you missed "
_" Underscore)
pawn Код:
GameTextForPlayer_(playerid, "--- Anything", 6000, 10);