How to make this green craft notification manually?
![]()
Solved Green craft notification?
Discussion in 'Rust Development' started by azalea`, Feb 1, 2016.
-
You want it to be a custom text display?
-
-
Given a BasePlayer player and an Item item you can send the the popup message to the player with the following code.
Code:player.Command("note.inv", new object[] { item.info.itemid, item.amount });
Edit:
Code:player.Command("note.inv", item.info.itemid, item.amount);
-
Is there a way for us to lookup an Item and cast it to a new reference, so a custom item can be classified by the plugin? Pseudo example below.
Code:Item i = Item.Find(-1725510067); i.info.name = "Test".
-
Sorry too, but I also have a question !
It is possible to display custom values ?
Like :Code:player.Command("note.inv", "Server Money", "5$");
-
-
-
Where is the notification image from? Is it tied to item.info? How would i go about displaying a custom message alongside a custom texture?
-
See: Solved - Green craft notification? | Oxide