03-03-2009, 11:51 PM
Oops, forgot to add this to tutorial.
If you've already added the tutorial, add:
Just before the loop. Added it to the tutorial now, so if you haven't added it yet, don't worry about it.
Not having that line in meant the server was spammed with "[Name] gained 0 level(s)!" because it didn't exit the sub if the player hadn't leveled at all ;D That line just exits out if no level takes place.
If you've already added the tutorial, add:
Code:
If Not GetPlayerExp(Index) >= GetPlayerNextLevel(Index) Then Exit Sub
Just before the loop. Added it to the tutorial now, so if you haven't added it yet, don't worry about it.
Not having that line in meant the server was spammed with "[Name] gained 0 level(s)!" because it didn't exit the sub if the player hadn't leveled at all ;D That line just exits out if no level takes place.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?