mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Don't compile for client.dll
Don't compile 'CC_CreateFakePlayer_f' for the client.dll.
This commit is contained in:
parent
f2fd9102d0
commit
354e25633c
@ -1250,9 +1250,9 @@ CC_CreateFakePlayer_f
|
|||||||
on the server
|
on the server
|
||||||
=====================
|
=====================
|
||||||
*/
|
*/
|
||||||
|
#ifndef CLIENT_DLL
|
||||||
void CC_CreateFakePlayer_f(const CCommand& args)
|
void CC_CreateFakePlayer_f(const CCommand& args)
|
||||||
{
|
{
|
||||||
#ifndef CLIENT_DLL
|
|
||||||
if (args.ArgC() < 3)
|
if (args.ArgC() < 3)
|
||||||
{
|
{
|
||||||
DevMsg(eDLL_T::SERVER, "usage 'sv_addbot': name(string) teamid(int)\n");
|
DevMsg(eDLL_T::SERVER, "usage 'sv_addbot': name(string) teamid(int)\n");
|
||||||
@ -1265,5 +1265,5 @@ void CC_CreateFakePlayer_f(const CCommand& args)
|
|||||||
g_pServerGameClients->ClientFullyConnect(nHandle, false);
|
g_pServerGameClients->ClientFullyConnect(nHandle, false);
|
||||||
|
|
||||||
g_pEngineServer->LockNetworkStringTables(false);
|
g_pEngineServer->LockNetworkStringTables(false);
|
||||||
#endif // !CLIENT_DLL
|
}
|
||||||
}
|
#endif // !CLIENT_DLL
|
@ -70,8 +70,9 @@ void CVHelp_f(const CCommand& args);
|
|||||||
void CVList_f(const CCommand& args);
|
void CVList_f(const CCommand& args);
|
||||||
void CVDiff_f(const CCommand& args);
|
void CVDiff_f(const CCommand& args);
|
||||||
void CVFlag_f(const CCommand& args);
|
void CVFlag_f(const CCommand& args);
|
||||||
|
#ifndef CLIENT_DLL
|
||||||
void CC_CreateFakePlayer_f(const CCommand& args);
|
void CC_CreateFakePlayer_f(const CCommand& args);
|
||||||
|
#endif // !CLIENT_DLL
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
class VCallback : public IDetour
|
class VCallback : public IDetour
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user