samaps.txd TextDraw
#1

Hello, i need help for my script.

Kalcor say :

Код:
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;
}
I modified « samaps.txd » (Gta San Andreas/SAMP/samaps.txd) to add my texture But it doesn't work In Game.
However, I have put « samaps:mytexture ».

Thanks for help !
Reply
#2

This is good, the images I want to show well in the game.
But I would move the image of my hand depending on its speed. For my speedo.
I can do if I put points (TextDraw) but not with an image (LIB:texture).

Thanks for help!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)