What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Help with the use of items

fluxkill

New Member
Joined
Jun 13, 2016
Messages
12
Reaction score
0
How can i write a plugin who will use a bread every 30 seconds ?

I dont understand the documentation !

I have to create an item with the name of the bread and then use : item.UseItem(true) ?

like

Code:
 Item Popo = "Adventurer's Savory Soup";    
  Popo.UseItem(true);


this don't work...
Thanks for help
 
some one ?
i just need to know how to declare an item object and how to use his method UseItem
 
How can i write a plugin who will use a bread every 30 seconds ?

I dont understand the documentation !

I have to create an item with the name of the bread and then use : item.UseItem(true) ?

like

Code:
 Item Popo = "Adventurer's Savory Soup";    
  Popo.UseItem(true);


this don't work...
Thanks for help

Code:
UseItem("Adventurer's Savory Soup");
Thread.Sleep(30000);
That should work. Also, please take the time to learn C#
 
Last edited:
Back
Top