PHP Code:
else if (equali(szArg1, "/noclip"))
{
if (pev(iID, pev_movetype) != MOVETYPE_NOCLIP)
{
set_pev(iID, pev_movetype, MOVETYPE_NOCLIP)
set_pev(iID, pev_maxspeed, 2000.0)
}
else
set_pev(iID, pev_movetype, MOVETYPE_WALK)
}
maxspeed will change every time you switch weapons as far as i remember(at least in cs) so keep that in mind
__________________