|
Title: Player level info on connect Post by: iceman on June 16, 2012, 12:42:36 PM When a player connects have it print there total levels.
{GREEN}War3Source {Default} Iceman connected (level) Title: Re: Player level info on connect Post by: -El Diablo on June 17, 2012, 05:59:03 AM Okay iceman:
http://ownageclan.com/svn/war3source/customstuff/branches/diablo/War3Source_Engine_PlayerClass.sp ShowPlayerTotalLevelsOnConnect=CreateConVar("war3_show_total_levels_on_connect","0","0 is disabled, 1 is to all, 2 is to player only [default 0]"); You should only need this file for what you requested. Here is the code you will need for your war3source.cfg: war3_show_total_levels_on_connect 1 I'm assuming you want to show to all clients the player's total levels on connect. Otherwise if you only want to show to the player whom is connecting, then change the number to 2. Or you can disable it using 0 (or any other number for that matter) To Do: add an option to not show admin total levels.. :P Title: Re: Player level info on connect Post by: iceman on June 17, 2012, 06:09:36 AM thanks, i will give it a try today :)
|