Displaying logo - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP DL Edition (
https://sampforum.blast.hk/forumdisplay.php?fid=92)
+--- Forum: SA-MP 0.3.DL (
https://sampforum.blast.hk/forumdisplay.php?fid=90)
+--- Thread: Displaying logo (
/showthread.php?tid=654646)
Displaying logo -
DemME - 02.06.2018
Hey so I have entered few servers in the new SAMP version, and I have seen they used their own logos when entering, how do I import an image from outside to the game?
Re: Displaying logo -
Alex Magaсa - 02.06.2018
This topic might help you also try to use a g-o-o-g-l-e you will find alot of topics related to textdraw.
https://sampforum.blast.hk/showthread.php?tid=647499
Custom Textdraws -
DeadDon - 02.06.2018
Quote:
Originally Posted by Alex Magaсa
|
So to insert a model into the game, you use AddSimpleModel. For textdraws, you use the same thing.
First create your model with your custom texdraw
AddSimpleModel(-1,19379,
-2018,"crane.dff","freightcrane1.txd");
Second, create your textdraw in the script.
new Text:customtextdraw;
customtextdraw = TextDrawCreate(200.0, 220.0, "mdl
-2018:
mylogo_256");
TextDrawFont(customtextdraw,
4);
TextDrawColor(customtextdraw,0xFFFFFFFF);
TextDrawTextSize(customtextdraw,
200.0,200.0);
TextDrawSetSelectable(customtextdraw, 1);
TextDrawShowForPlayer(playerid,customtextdraw);
Definitions:
"-2018" - The ID of your custom model/texture
"mylogo_256" - The name of your image in the .txd
"4" - The font of your sprite/txddraw
"200.0,200.0" - Width and Height
Re: Displaying logo -
StrikerZ - 02.06.2018
Actually I had the same question when I started with .DL, then I saw this tutorial:
I hope you'll get it.
https://sampforum.blast.hk/showthread.php?tid=651543