SA-MP Forums Archive
How to do this? - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to do this? (/showthread.php?tid=495527)



How to do this? - Tadas - 17.02.2014

Hello, can anyone explain me how to do something like this? :



Re: How to do this? - Bingo - 17.02.2014

Use textdraw


Re: How to do this? - Tadas - 17.02.2014

Can you give me a tutorial link or something , please?


Re: How to do this? - SPA - 17.02.2014

Try this:
Код:
new Text: box[MAX_PLAYERS];

box[playerid] = TextDrawCreate(645.000000, 1000.000000,"box"); // chnge this if needed
TextDrawUseBox(box[playerid] , 1);
TextDrawFont(box[playerid] , 3);
TextDrawLetterSize(box[playerid] ,1.400000, 13.000005);
TextDrawBackgroundColor(box[playerid] ,0x000000FF);
TextDrawBoxColor(box[playerid] ,0x000000FF);
TextDrawColor(box[playerid] ,0x000000FF);
TextDrawTextSize(box[playerid] , -50.000000, 0.000000);

TextDrawShowForPlayer(playerid, box[playerid]);

TextDrawDestroy(box[playerid]);



Re: How to do this? - Tadas - 18.02.2014

Where I need to put this ?


AW: How to do this? - Bingo - 18.02.2014

OnPlayerConnect.
;or
OnPlayerRequestSpawn.


I am confused, Sorry.