Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Question


MeteorRain
 Share

Recommended Posts

This will probably  be my last question, I need this to continue on my game.

And people, please stop saying things like "No don't do this, it's bad, don't do that it's slow, don't do that, that's blah" like in my other topic. If I'm asking how to it means I know what I'm doing :).

Oh well, could someone please answer this:

What the code is for:

Warp Player
Check if has item inv
Take item from inv
Link to comment
Share on other sites

I've looked through the project and I found the following:

```
PlayerWarp index, GetPlayerMap(index), x, y
TakeInvItem index, itemnum, 1
GiveInvItem index, 1, price
```
I couldn't find anything for IfPlayerHasItem tho, and I'm not sure how the code I found works…
Link to comment
Share on other sites

Btw, what I meant with that is, I'm asking the question because I know what to do with the answer.

And @ Soul, not really. I always try before I ask. When I asked the question first I didn't try because I didn't have a single clue where to start.

After Lightning gave me the code I didn't know I could find the full code, but then I discovered I I could find it by searching through Server/Client.vbp.

The codes I post before are the only ones I could find, I don't really understand how it works tho so I asked how that works =/.

Would really appreciate it if someone could answer :)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...