SA-MP Forums Archive
[Include] [INC]oGametexts ~~ 5 new gametext styles! - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] [INC]oGametexts ~~ 5 new gametext styles! (/showthread.php?tid=165628)

Pages: 1 2


[INC]oGametexts ~~ 5 new gametext styles! [Updated to version 1.1 new function!] - [XST]O_x - 05.08.2010

O_x GameTexts
Introduction

Well 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]
Pictures of styles

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.


Respuesta: [INC]oGametexts ~~ 5 new gametext styles! - Jesus^ - 05.08.2010

Niice !! good job!! thanks !!


Re: [INC]oGametexts ~~ 5 new gametext styles! - [XST]O_x - 05.08.2010

Thanks,I'm glad you liked it


Re: [INC]oGametexts ~~ 5 new gametext styles! - [XST]O_x - 05.08.2010

Thanks zombie xD
And sure.


Re: [INC]oGametexts ~~ 5 new gametext styles! - ViruZZzZ_ChiLLL - 05.08.2010

Nice work [XST]O_x =D


Re: [INC]oGametexts ~~ 5 new gametext styles! - [XST]O_x - 05.08.2010

Thankyou Viruz =P


Re: [INC]oGametexts ~~ 5 new gametext styles! - Kar - 05.08.2010

nice i'll look at style 5 ftw i like that


Re: [INC]oGametexts ~~ 5 new gametext styles! - [XST]O_x - 05.08.2010

Quote:
Originally Posted by Kar
View Post
nice i'll look at style 5 ftw i like that
Thanks :P


Re: [INC]oGametexts ~~ 5 new gametext styles! - [MWR]Blood - 05.08.2010

Nice one, O_x!


Re: [INC]oGametexts ~~ 5 new gametext styles! - DarkClone - 05.08.2010

Nice job!


Re: [INC]oGametexts ~~ 5 new gametext styles! - [XST]O_x - 05.08.2010

Thanks guys

EDIT: Updated to version 1.1,now has GameTextCostumeForRange.


Re: [INC]oGametexts ~~ 5 new gametext styles! - Hiddos - 12.08.2010

Easy, but nice. Keep up the good work.


Re: [INC]oGametexts ~~ 5 new gametext styles! - [XST]O_x - 12.08.2010

Quote:
Originally Posted by Hiddos
Посмотреть сообщение
Easy, but nice. Keep up the good work.
Thanks Hiddos D:


Re: [INC]oGametexts ~~ 5 new gametext styles! - willsuckformoney - 13.08.2010

lol nice, kinda been wanting this, may use!


Re: [INC]oGametexts ~~ 5 new gametext styles! - snoob - 13.08.2010

hey , sweet, you can do text draw !!!


Re: [INC]oGametexts ~~ 5 new gametext styles! - Hiddos - 13.08.2010

Quote:
Originally Posted by snoob
Посмотреть сообщение
hey , sweet, you can do text draw !!!
The standard GameTexts are basically text draws as well ^^


Re: [INC]oGametexts ~~ 5 new gametext styles! - [xW]inot - 14.08.2010

I did test it.
It's awesome. Nice job O_x


Re: [INC]oGametexts ~~ 5 new gametext styles! - [XST]O_x - 14.08.2010

Thanks inot


Re: [INC]oGametexts ~~ 5 new gametext styles! - MWP - 19.09.2010

I like it but the Styles are a littlebit lazy..


Re: [INC]oGametexts ~~ 5 new gametext styles! - [XST]O_x - 19.09.2010

Quote:
Originally Posted by MWP
Посмотреть сообщение
I like it but the Styles are a littlebit lazy..
By that you mean?