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

Resources give exp [SOLVED]


or3o
 Share

Recommended Posts

im just wondering where i should start looking if i wanted to make it so i can give resources an xp value.
sorry if this has been answerd before or something but i havent come across any posts about it. thanks in advance guys (or girls)
Link to comment
Share on other sites

::Server side::
In " Sub CheckResource "
Afther
```
SendActionMsg GetPlayerMap(Index), Trim$(Resource(Resource_index).SuccessMessage), BrightGreen, 1, (GetPlayerX(Index) * 32), (GetPlayerY(Index) * 32)
```add
```
SetPlayerExp Index, 20
SendEXP Index

```Or  make calculation to give more or less exp not all time 20, like
```
GetPlayerLevel * 2 + 3

```
p.s. I havent tested this, dont know if this work but you must to know basic.
Link to comment
Share on other sites

thank you for the quick response :) ill check it out now thank you very much just pointing out where  i needed to look helped a ton! i got it working now.
now my hatchets actually give woodcutting exp.
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...