Raised This Month: $32 Target: $400
 8% 

How can i give gravity to entity in CS:GO


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
WmakiWmak
Junior Member
Join Date: Aug 2016
Old 11-12-2017 , 23:15   How can i give gravity to entity in CS:GO
Reply With Quote #1

I'm trying do something like this

PHP Code:
public void OnEntityCreated(int entity)
{
        
SetEntityGravity(entity0.1)

or

PHP Code:
public void OnEntityCreated(int entity)
{
    
SetEntityMoveType(entityMOVETYPE_FLY);

nothing works out, i just want all entities to fly like in space except players

Could you please tell me what can I do to make this work?
WmakiWmak is offline
rodrigo286
Veteran Member
Join Date: Sep 2010
Location: Brazil, São Paulo
Old 11-13-2017 , 17:56   Re: How can i give gravity to entity in CS:GO
Reply With Quote #2

Test this:

PHP Code:
sm_cvar phys_pushscale 2.5
sm_cvar sv_turbophysics 1
sm_cvar sv_pushaway_force 35000 
Try change values to get best effect.

Regards.
__________________
My Plugins | VIEW HERE | I accept private requests, send me a PM.
Buy respawn | Uber Recall | Grenade drop | Damage Supperssor
Meet the Medic | Disguise Expert | Crazy Jet

CZSBrasil TEAM

Last edited by rodrigo286; 11-13-2017 at 18:02.
rodrigo286 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:42.


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