AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Velocity (https://forums.alliedmods.net/showthread.php?t=155084)

nnajko 04-17-2011 11:33

Velocity
 
Im using this:
PHP Code:

set_pev(iEntpev_movetypeMOVETYPE_FLY);
set_pev(iEntpev_velocity, {0.00.0125.0}); 

To make an entity move up.
But when I stand on the entity the movement stops.
What should I do to prevent that?

kotinha 04-17-2011 13:12

Re: Velocity
 
See if it works:
PHP Code:

set_pev(iEntpev_movetypeMOVETYPE_FLY); 

:arrow:
PHP Code:

set_pev(iEntpev_movetypeMOVETYPE_NOCLIP); 


nnajko 04-17-2011 13:43

Re: Velocity
 
Quote:

Originally Posted by kotinha (Post 1452158)
See if it works:
PHP Code:

set_pev(iEntpev_movetypeMOVETYPE_FLY); 

:arrow:
PHP Code:

set_pev(iEntpev_movetypeMOVETYPE_NOCLIP); 


Won't work.
Guess I have to use another way than simply using velocity.

Nyuszy 04-17-2011 14:23

Re: Velocity
 
set_user_gravity(id, 0.0) ?


All times are GMT -4. The time now is 20:11.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.