mSelection include related - 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: mSelection include related (
/showthread.php?tid=452050)
mSelection include related -
Darnell - 19.07.2013
I have this clothing system.
I want to add a textdraw that will say each price of each skin/id.
Or add a message, that if you click once then it will show the price and if you click again it'll buy it.
Any guidelines, help?
Re: mSelection include related -
Darnell - 23.07.2013
Bump.
Re: mSelection include related -
Darnell - 24.07.2013
Bump
Re: mSelection include related -
Basssiiie - 24.07.2013
For textdraws, you can create textdraws using
TextDrawCreate and it's related functions. There are a lot of
Textdraw tutorials out there, only if you'd tried searching for them.
Same goes for
messages. Although, if you don't even know how to send a message in chat, you might want to start at the very beginning with learning Pawn.
Re: mSelection include related -
Darnell - 26.07.2013
Quote:
Originally Posted by Basssiiie
For textdraws, you can create textdraws using TextDrawCreate and it's related functions. There are a lot of Textdraw tutorials out there, only if you'd tried searching for them.
Same goes for messages. Although, if you don't even know how to send a message in chat, you might want to start at the very beginning with learning Pawn.
|
I thought about creating a textdraw and the content is %s, the %s is the vehicle name. How will it get the vehicle name? I need a global variable like this:
pawn Код:
if(model == X) return Buffalo
Re: mSelection include related -
Basssiiie - 26.07.2013
Код:
new model = GetVehicleModel(vehicleid);
if (model == 402) TextDrawSetString(textdraw, "Buffalo");
?
If you have no idea how Pawn works, I suggest you start at the very beginning with learning. Find some good tutorials.
Re: mSelection include related -
Darnell - 26.07.2013
Yeah, but how do I "attach" the textdraw to each box of the menu?
And if I continue on the page, it'll switch it?
That's the only thing I don't know, pretty new to 0.3x
Re: mSelection include related -
Darnell - 28.07.2013
bump