0.3d feature help
#1

Where is the ID's of the 0.3d stuff that allows you to use cards, map icons ect on the Textdraw.
Reply
#2

Hello?
Reply
#3

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
Reply
#4

When I use hud:radar_gangY it appears to be massive and I change the textdraw size and nothing happens.
Reply
#5

If you want to search more sprites: Click here
Reply
#6

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
Reply
#7

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)