Quote:
Originally Posted by 101
Go to the one that u want to disable its gravity functions and search inside for lines than contains pev_gravity using Ctrl+F and remove all their components . and If u don't know how then replace the sentence by a logical operation line such as 5; Or 5>3; , then compile it and neglect the warnings "Its Ok" .
|
for example I have line
// Set gravity, if frozen set the restore gravity value instead
if (!g_frozen[id]) set_pev(id, pev_gravity, get_pcvar_float(cvar_nemgravity))
else g_frozen_gravity[id] = get_pcvar_float(cvar_nemgravity)
I should make something like ?
// Set gravity, if frozen set the restore gravity value instead
if (5>3) set_pev(id, pev_gravity, get_pcvar_float(cvar_nemgravity))
else g_frozen_gravity[id] = get_pcvar_float(cvar_nemgravity)