0.3d feature help - 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: 0.3d feature help (
/showthread.php?tid=304268)
0.3d feature help -
MaDK1LLA - 17.12.2011
Where is the ID's of the 0.3d stuff that allows you to use cards, map icons ect on the Textdraw.
Re: 0.3d feature help -
MaDK1LLA - 20.12.2011
Hello?
Re: 0.3d feature help -
FarSe. - 20.12.2011
Quote:
Originally Posted by MaDK1LLA
Hello?
|
Bye.
Example:
pawn Код:
if(strcmp(cmd, "/tdsprite",true) == 0) {
new Text:txtSprite1;
txtSprite1 = TextDrawCreate(200.0, 220.0, "samaps:map"); // Text is txdfile:texture
TextDrawFont(txtSprite1, 4); // Font ID 4 is the sprite draw font
TextDrawColor(txtSprite1,0xFFFFFFFF);
TextDrawTextSize(txtSprite1,200.0,200.0); // Text size is the Width:Height
TextDrawShowForPlayer(playerid,txtSprite1);
return 1;
}
Quote:
By setting the font ID to 4 and the text to txdfile:texture you can draw a single on-screen sprite. Possible values for txdfile are:
- hud: Textures from the game's hud.txd
- samaps: San Andreas map textures included with SA-MP in the samaps.txd file in the SAMP folder.
- Any txd file and texture found in the models\txd folder in your GTA San Andreas directory.
|
https://sampforum.blast.hk/showthread.php?tid=282775
Re: 0.3d feature help -
MaDK1LLA - 20.12.2011
When I use hud:radar_gangY it appears to be massive and I change the textdraw size and nothing happens.
Re: 0.3d feature help -
Gazmull - 20.12.2011
If you want to search more sprites:
Click here
Re: 0.3d feature help -
Rapgangsta - 20.12.2011
Quote:
Originally Posted by MaDK1LLA
When I use hud:radar_gangY it appears to be massive and I change the textdraw size and nothing happens.
|
You need change box sizes of the sprite
Re: 0.3d feature help - suhrab_mujeeb - 20.12.2011
Quote:
Originally Posted by MaDK1LLA
Hello?
|
Hi, how are you?
I guess you are looking for this:
https://sampforum.blast.hk/showthread.php?tid=291202