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

Stats cap above 255


azaew
 Share

Recommended Posts

If you check in the server, within **ModHandleData** you will find this chunk of code

```
    ' Make sure they have points
    If GetPlayerPOINTS(index) > 0 Then
        ' make sure they're not maxed#
        If GetPlayerRawStat(index, PointType) >= 255 Then
            PlayerMsg index, "You cannot spend any more points on that stat.", BrightRed
            Exit Sub
        End If

```
Notice

```
If GetPlayerRawStat(index, PointType) >= 255 Then

```
I think there is your answer :)
Link to comment
Share on other sites

Delete
```
If GetPlayerRawStat(index, PointType) >= 255 Then
            PlayerMsg index, "You cannot spend any more points on that stat.", BrightRed
            Exit Sub
        End If

```in modHandleData server side in sub
```
Sub HandleUseStatPoint(ByVal Index As Long, ByRef Data() As Byte, ByVal StartAddr As Long, ByVal ExtraVar As Long)

```
Link to comment
Share on other sites

@azaew:

> What do you mean in mode handle
>
> server side in sub, so on

Server side search for

```
If GetPlayerRawStat(index, PointType) >= 255 Then
```
Either increase that number or entirely delete -

```
If GetPlayerRawStat(index, PointType) >= 255 Then
            PlayerMsg index, "You cannot spend any more points on that stat.", BrightRed
            Exit Sub
        End If
```
Its very simple!
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...