Merge branch 'main' of https://github.com/skkuull/h1-mod
This commit is contained in:
commit
042a5e1c41
@ -1,11 +1,13 @@
|
|||||||
#include <std_include.hpp>
|
#include <std_include.hpp>
|
||||||
#include "../steam.hpp"
|
#include "../steam.hpp"
|
||||||
|
|
||||||
|
#include <game/game.hpp>
|
||||||
|
|
||||||
namespace steam
|
namespace steam
|
||||||
{
|
{
|
||||||
const char* friends::GetPersonaName()
|
const char* friends::GetPersonaName()
|
||||||
{
|
{
|
||||||
return "1337";
|
return game::Dvar_FindVar("name")->current.string;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned long long friends::SetPersonaName(const char* pchPersonaName)
|
unsigned long long friends::SetPersonaName(const char* pchPersonaName)
|
||||||
|
Loading…
Reference in New Issue
Block a user