HLFX.Ru Forum
Показать все 2 сообщений этой темы на одной странице

HLFX.Ru Forum (https://hlfx.ru/forum/index.php)
- Half-Life SDK (https://hlfx.ru/forum/forumdisplay.php?forumid=8)
-- Remove use player slow :] (https://hlfx.ru/forum/showthread.php?threadid=3216)


Отправлено daku 21-01-2012 в 06:48:

Remove use player slow :]

Hi

in HL if you push USE button then player slow i want to remove it, i'm look code from MP and client and nothing 0 function to set player speed


Отправлено PomanoB 21-01-2012 в 07:01:

pm_shared/pm_shared.c

C++ Source Code:
// Slow down, I'm pulling it! (a box maybe) but only when I'm standing on ground
if ( ( pmove->onground != -1 ) && ( pmove->cmd.buttons & IN_USE) )
{
  VectorScale( pmove->velocity, 0.3, pmove->velocity );
}


Временная зона GMT. Текущее время 01:04.
Показать все 2 сообщений этой темы на одной странице

На основе vBulletin версии 2.3.0
Авторское право © Jelsoft Enterprises Limited 2000 - 2002.
Дизайн и программирование: Crystice Softworks © 2005 - 2024