AlliedModders

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

FiFiX 04-03-2009 09:16

set_user_gravity
 
Is it possible to replace set_user_gravity with something else? I want to set_user_gravity to 0.001 but without fun module.

alan_el_more 04-03-2009 09:26

Re: set_user_gravity
 
with the module fakemeta
set_pev(id, pev_gravity, 0.001)

FiFiX 04-03-2009 09:41

Re: set_user_gravity
 
And how to replace
entity_set_vector(id, EV_VEC_velocity, Float:{0.0, 0.0, 200.0})
to not use engine module?:d

ot_207 04-03-2009 09:43

Re: set_user_gravity
 
Quote:

Originally Posted by FiFiX (Post 796200)
And how to replace
entity_set_vector(id, EV_VEC_velocity, Float:{0.0, 0.0, 200.0})
to not use engine module?:d

Why would you like to do that for?
The Engine Module is good.

In fakemeta set_pev(id,pev_velocity,Float:{0.0, 0.0, 200.0})

FiFiX 04-03-2009 09:52

Re: set_user_gravity
 
Quote:

Originally Posted by ot_207 (Post 796202)
Why would you like to do that for?
The Engine Module is good.

Coz I've got whole plugin without engine. Only 2 lines for one command are using engine :P

Oh, forget..
ANd this:
entity_get_vector(id, EV_VEC_v_angle, vec)?

ot_207 04-03-2009 09:56

Re: set_user_gravity
 
Ok ;).
edit: pev(id,pev_v_angle,vec)


All times are GMT -4. The time now is 02:15.

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