Trying to make a mod, where I have a flying character. But I need everything else to have regular gravity.
I tried in \src\dlls\GameInterface.cpp
Code:
void CServerGameClients::ClientActive( edict_t *pEdict, bool bLoadGame )
{
...
pPlayer->SetGravity(0.0f);
}
it does a whole lot of nothing. my character still has regular gravity set on them. Is there a way I can set it's weight to 0, or setGravity on it to 0! *&$(@*#&(
Help please!!