04.08.2011, 19:28
Server announce ingame How?
04.08.2011, 19:33
That would be a textdraw, you will need to create it using TextDrawCreate, and TextDrawShowForPlayer; I recommend checking out the SA:MP wiki, and for an easier way to create them in-game, I recommend https://sampforum.blast.hk/showthread.php?tid=117851.
04.08.2011, 19:43
(
Последний раз редактировалось deqn_0000; 04.08.2011 в 20:17.
)
Thank you,but can you tell me how to use textdraweditor please?
04.08.2011, 20:21
What do you want yours to say? I can make it for you with the editor.
04.08.2011, 20:41
I wanna " www.gta-powerbg.info " thanks
04.08.2011, 21:08
Here:
Made by Zamaroht's editor. It is not the same green as in that picture above, it is a brighter green.
pawn Код:
// TextDraw developed using Zamaroht's Textdraw Editor 1.0
// On top of script:
new Text:Textdraw0;
// In OnGameModeInit prefferably, we procced to create our textdraws:
Textdraw0 = TextDrawCreate(477.000000, 100.000000, "www.gta-powerbg.info");
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 3);
TextDrawLetterSize(Textdraw0, 0.400000, 1.300000);
TextDrawColor(Textdraw0, 16711935);
TextDrawSetOutline(Textdraw0, 0);
TextDrawSetProportional(Textdraw0, 1);
TextDrawSetShadow(Textdraw0, 1);
// You can now use TextDrawShowForPlayer(-ForAll), TextDrawHideForPlayer(-ForAll) and
// TextDrawDestroy functions to show, hide, and destroy the textdraw.
05.08.2011, 10:33
I got these errors:
pawn Код:
C:\Users\тоши\Desktop\[B-U-L-G-E-R-I-A-N [G-T-A] [S-E-R-V-E-R]\[B-U-L-G-E-R-I-A-N [G-T-A] [S-E-R-V-E-R]\original samp server mod\gamemodes\gangwars4.pwn(640) : warning 217: loose indentation
C:\Users\тоши\Desktop\[B-U-L-G-E-R-I-A-N [G-T-A] [S-E-R-V-E-R]\[B-U-L-G-E-R-I-A-N [G-T-A] [S-E-R-V-E-R]\original samp server mod\gamemodes\gangwars4.pwn(648) : warning 217: loose indentation
pawn Код:
Textdraw0 = TextDrawCreate(477.000000, 100.000000, "www.gta-powerbg.info");
TextDrawBackgroundColor(Textdraw0, 255); //Line640
TextDrawFont(Textdraw0, 3);
TextDrawLetterSize(Textdraw0, 0.400000, 1.300000);
TextDrawColor(Textdraw0, 16711935);
TextDrawSetOutline(Textdraw0, 0);
TextDrawSetProportional(Textdraw0, 1);
TextDrawSetShadow(Textdraw0, 1);
//===============================[Player Class]=================================
AddPlayerClass(1, 1481.2080, -1770.6204, 18.7958, 359.4039, -1, -1, -1, -1, -1, -1); //Civilian 1 //line 648
05.08.2011, 10:35
Move the textdraw(lines) a little further:
or arrange them correctly..
pawn Код:
//Like this:
Textdraw0 = TextDrawCreate(477.000000, 100.000000, "www.gta-powerbg.info");
TextDrawBackgroundColor(Textdraw0, 255); //Line640
TextDrawFont(Textdraw0, 3);
TextDrawLetterSize(Textdraw0, 0.400000, 1.300000);
TextDrawColor(Textdraw0, 16711935);
TextDrawSetOutline(Textdraw0, 0);
TextDrawSetProportional(Textdraw0, 1);
TextDrawSetShadow(Textdraw0, 1);
//===============================[Player Class]=================================
AddPlayerClass(1, 1481.2080, -1770.6204, 18.7958, 359.4039, -1, -1, -1, -1, -1, -1); //Civilian 1 //line 648
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)