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

Help me again please :S got some questions


danja4
 Share

Recommended Posts

Go to your servers folder > scripts folder > main.txt
Ctrl + find this: PlayerLevelUp
You should see _Something_ like this:

> Sub PlayerLevelUp(Index)
> Dim TotalExp
>
> Do While GetPlayerExp(Index) >= GetPlayerNextLevel(Index)
> TotalExp = GetPlayerExp(Index) - GetPlayerNextLevel(Index)
> Call SetPlayerLevel(Index, GetPlayerLevel(Index) + 1)
>
> Call SetPlayerPOINTS(Index, GetPlayerPOINTS(Index) + 1)
> Call SetPlayerExp(Index, TotalExp)
> Loop
>
> Call BattleMsg(Index, "You have " & GetPlayerPOINTS(Index) & " stat points.", BRIGHTBLUE, 0)
> End Sub

Just change the 1 or any number you have in: Call SetPlayerPOINTS(Index, GetPlayerPOINTS(Index) +1)
to the amount of stat points you want to get
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...