-
Автор темы
- #1
Код:
if (miscConfig.longjump && miscConfig.edgejumpkey.isDown()) {
if (!localPlayer || !interfaces->engine->isInGame() || !interfaces->engine->isInGame())
return;
const auto move_type = localPlayer->moveType();
if (move_type == MoveType::LADDER || move_type == MoveType::NOCLIP) {
return;
}
if (localPlayer->flags() & 1) {
saved_tick_count = memory->globalVars->tickCount;
}
if (memory->globalVars->tickCount - saved_tick_count > miscConfig.savedticks) {
do_lj = false;
}
else {
do_lj = true;
}
if (do_lj && !(localPlayer->flags() & 1)) {
cmd->buttons |= UserCmd::IN_DUCK;
Последнее редактирование: