Mr.LLoyd Posted April 21, 2012 Author Share Posted April 21, 2012 Ok so in this tutorial i will simply show how to change the amout of stat points you get per lvl and how to change the player lvl up global message to only a player message.This is only useful if you dont want to spam the chat box who leveld up.Ok so lets get started.So in the server go to modPlayerand find```Call SetPlayerPOINTS(Index, GetPlayerPOINTS(Index) + 3)```Chnage the "3" with the amout of stat points you want to get per lvlfor example```Call SetPlayerPOINTS(Index, GetPlayerPOINTS(Index) + 1)```This will give the player only 1 stat point per lvl.Ok now for the global message when a player levels up.In the same sub find ``` GlobalMsg GetPlayerName(Index) & " has gained " & level_count & " level!", Brown```And replace the both codes with ``` Call PlayerMsg(Index, "You have leveled up!", BrightGreen)```Thats all.Ok so how the code works```Call PlayerMsg```is a message type that only the user sees.```"You have leveled up!"```is the message the player sees.```BrightGreen```is the message color.Notes:Im just starting to learn Visual Basic so thats why the edit is so simply and this is my first tutorial but i hope i helped someone :]And sorry for my bad english it's not my native language. Link to comment Share on other sites More sharing options...
Tranny Posted April 21, 2012 Share Posted April 21, 2012 Thank you! Simple and helpful. Link to comment Share on other sites More sharing options...
Mr.LLoyd Posted April 21, 2012 Author Share Posted April 21, 2012 No problem just trying to help :] Link to comment Share on other sites More sharing options...
kahnival Posted April 21, 2012 Share Posted April 21, 2012 Hadn't thought of this :)These sort of tutorials are good for newbies to coding as you dont have to add and edit miles of code its just changing a couple of numbers. I might do some simple ones like this at some point as I work things out myself. Link to comment Share on other sites More sharing options...
Mr.LLoyd Posted April 22, 2012 Author Share Posted April 22, 2012 Yeah simple lttle edits to help some beginers in VB6 like myself :] Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now