How do I make the Gui display the item description?
In the actual
weapon I have this
PHP Code:
//#CLIENTSIDE
function onCreated() {
obj.description = "This is a test.";
}
In the
inventory I have this for the display text part
--This is done after item is clicked.
PHP Code:
new GuiTextCtrl("Inventory_Item_Text") {
profile = GuiBlueTextProfile;
text = obj.description;
x = screenwidth/2-700+480;
y = screenheight/2-350+140;
layer = 2;
}
I may be way off. But I'm still trying to learn