other gametext
#1

Well, i have seen on a server they got a gametext like this(for the whole time you are online):



Is it possible to script that in 0.3 too?
please tell meh how.
Reply
#2

This is mine, it'll show a textdraw at the right rop at your screen.
Change 501.000000,9.000000 and the text ~g~M~w~CRP~r~G to your own.


On top under defining (above ongamemodeinit)

new Text:MCRPGTextDraw;

OnGameModeInit:
MCRPGTextDraw = TextDrawCreate(501.000000,9.000000,"~g~M~w~CRP~r~G ");
TextDrawAlignment(MCRPGTextDraw,0);
TextDrawBackgroundColor(MCRPGTextDraw,0x000000cc);
TextDrawFont(MCRPGTextDraw,3);
TextDrawLetterSize(MCRPGTextDraw,1.000000,1.400000 );
TextDrawColor(MCRPGTextDraw,0xffffffff);
TextDrawSetOutline(MCRPGTextDraw,1);
TextDrawSetProportional(MCRPGTextDraw,1);
TextDrawSetShadow(MCRPGTextDraw,1);

OnPlayerConnect:

TextDrawShowForPlayer(playerid,MCRPGTextDraw);
Reply
#3

Quote:
Originally Posted by KnooL
This is mine, it'll show a textdraw at the right rop at your screen.
Change 501.000000,9.000000 and the text ~g~M~w~CRP~r~G to your own.


On top under defining (above ongamemodeinit)

new Text:MCRPGTextDraw;

OnGameModeInit:
MCRPGTextDraw = TextDrawCreate(501.000000,9.000000,"~g~M~w~CRP~r~G ");
TextDrawAlignment(MCRPGTextDraw,0);
TextDrawBackgroundColor(MCRPGTextDraw,0x000000cc);
TextDrawFont(MCRPGTextDraw,3);
TextDrawLetterSize(MCRPGTextDraw,1.000000,1.400000 );
TextDrawColor(MCRPGTextDraw,0xffffffff);
TextDrawSetOutline(MCRPGTextDraw,1);
TextDrawSetProportional(MCRPGTextDraw,1);
TextDrawSetShadow(MCRPGTextDraw,1);

OnPlayerConnect:

TextDrawShowForPlayer(playerid,MCRPGTextDraw);
it works
but how can i make it smaller because i don't see everything i want to have there
Reply
#4

I made it using http://forum.sa-mp.com/index.php?topic=29132.0
I'm not very good at scripting, so check that fs out. It'll certainly work.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)