Hey guys,
when you make a npc eg a drug dealer and you press e on it and it comes up with two buttons.
how do you make it so when you click it it brings up other stuff eg
Drug Dealer: what you need?(Button1)
Drug Dealer: i got some stuff to sell(Button2)
Drug Dealer: i got weed 280 each(Button1)
Drug Dealer: What you got (Button2)
And can you do more than one function off a button eg DermaPanel:Close() and RunConsoleCommand("say", "LOL")
Thank you in advance.
brad
[code]function button:DoClick()
DermaPanel:Close()
RunConsoleCommand("say","LOL")
end[/code]
Your second question.
Ok Thx do you no about the first one?
I dont really think first one was a question it was a request
Its a question on how to do it i just need a example i didnt ask you to do it all for me now did i.
also how do you add a pic eg of the item?
you can do it with spawn icons or make a texture spawn icons are easier in my view
ok what about the thing i said at first post
I dont really think first one was a question it was a request
Sorry, you need to Log In to post a reply to this thread.