Casino Textdraws - 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: Casino Textdraws (
/showthread.php?tid=563008)
Casino Textdraws -
kevin1990 - 13.02.2015
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?
Re: Casino Textdraws -
ZaBraNjeNi - 13.02.2015
See here:
-
https://sampforum.blast.hk/showthread.php?tid=291667
Re: Casino Textdraws -
kevin1990 - 13.02.2015
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.
Re: Casino Textdraws -
kevin1990 - 13.02.2015
Anyone?
Re: Casino Textdraws -
Maximus0 - 13.02.2015
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.
Re: Casino Textdraws -
kevin1990 - 13.02.2015
Cool, Thank you so much man~!