05.08.2010, 16:05
(
Last edited by [XST]O_x; 29/04/2011 at 03:49 PM.
)
O_x GameTexts
IntroductionWell I was bored and I thought to myself that I have never made or released any includes.
And here came my first one!
It gives your five new game-text styles with three new functions.
Functions
Three simple functions:
pawn Code:
GameTextCostumeForPlayer(playerid,msg[],seconds,style);
GameTextCostumeForAll(msg[],seconds,style);
GameTextCostumeForRange(Float:x,Float:y,Float:z,msg[],seconds,style);
Don't worry,they will be on your Pawno function list!
Usage and installation
Simple,download the include(.inc) file from the bottom of the post.
Open up any filterscript or your main gamemode and add '#include <o_gametexts>' under '#include <a_samp>'.
I have also added,at the bottom of the post a download link to an example filterscript with two commands:
Code:
/announcement [text] /countdown [seconds]
Style 1:
Style 2: (Sorry kinda mixed with my server textdraw)
Style 3:
Style 4:
Style 5:
Credits
Seif_ - Main idea,got it from his original include.
Zamarhot - TextDrawEditor1.0,helped me finding right positions for textdraws.
DracoBlue - dcmd,used in the example FS.
[XST]O_x(me) - All the rest.
Download
Include:
Version 1.0:
Solidfiles
Pastebin
Version 1.1:
Solidfiles
Pastebin
Example filterscript: (Check worthy,has two nice commands, /announcement [text] and /countdown [seconds])
Solidfiles
Pastebin
Future edits
Later on today:
I am currently working on GameTextCostumeForRange(range,msg[],seconds,style) -- DONE.
Maybe in the future:
Bug fixes if will be reported,and perhaps more styles.
Hope you like it guys.