Casino Textdraws
#1

This i'm sure is a nub question.

How would I access the Casino textdraws?
Like the slots, roulette and other textdraws that show them spinning?
Reply
#2

See here:
- https://sampforum.blast.hk/showthread.php?tid=291667
Reply
#3

Thanks,

thats not really what I was looking for though. That is a whole FS for a casino so thank you for the quick response.

But I am more looking for an answer to the question of how do I go about getting those textdraws. Just looking at his pastebin doesnt really help me because Im not to sure what I am reading.
Reply
#4

Anyone?
Reply
#5

Those textdraws located on your GTA - San Andreas\models\txd\LD_SLOT.txd file. You can open and show this kind of txd on your gamemode with this code.

Код:
public OnGameModeInit( )
{
     new Text:Text;
     Text = TextDrawCreate(0.000000, 0.000000, "LD_SLOT:r_69"); 69 Textdraw
     TextDrawTextSize(Text, 17.500000, 17.500000);
     TextDrawAlignment(Text, 1);
     TextDrawColor(Text, -1);
     TextDrawFont(Text, 4);
     return 1;
}
But you have to define textdraw position.
Reply
#6

Cool, Thank you so much man~!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)