kapsel598 Posted July 31, 2012 Author Share Posted July 31, 2012 how to do this by:frame cook = not visibleif player have item 2cook frame = visibleplease help me Link to comment Share on other sites More sharing options...
Ruins of Hell Posted August 1, 2012 Share Posted August 1, 2012 The server has a function called "Function HasItem(ByVal index As Long, ByVal itemnum As Long) As Long". If the player has the item, the return value will be greater than 0\. You should make it so when the player gets an item (as well as when they log in), the server checks if the item number is 2\. If it is, the server can send the client a packet to show the cooking frame. Link to comment Share on other sites More sharing options...
kapsel598 Posted August 1, 2012 Author Share Posted August 1, 2012 how can i create packet? Link to comment Share on other sites More sharing options...
Ruins of Hell Posted August 2, 2012 Share Posted August 2, 2012 @kapsel598:> how can i create packet?[Check out this tutorial.](http://www.touchofdeathforums.com/smf2/index.php/topic,69393.0.html) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now