13-09-2006, 08:48 PM
Author: Magnus
Difficulty: 1/5
:: SERVER SIDE ::
Find:Beneath it, add:
Now, add this before any of the other comment stuff:Change:To:At the end, add:That's all!
Difficulty: 1/5
:: SERVER SIDE ::
Find:
Code:
Sub CheckPlayerLevelUp(ByVal Index As Long)Code:
Dim ExtraEXP As LongNow, add this before any of the other comment stuff:
Code:
If GetPlayerExp(Index) > GetPlayerNextLevel(Index) Then
ExtraEXP = (GetPlayerExp(Index) - GetPlayerNextLevel(Index))
Else
ExtraEXP = 0
End IfCode:
Call SetPlayerExp(Index, 0)Code:
Call SetPlayerExp(Index, ExtraEXP)Code:
Call CheckPlayerLevelUp(Index)