• Make a certain person's gravity higher?
    3 replies, posted
How would i do this
[url]http://wiki.garrysmod.com/page/Entity/SetGravity[/url]
[QUOTE=Willox;43587979][url]http://wiki.garrysmod.com/page/Entity/SetGravity[/url][/QUOTE] Another question, how would i put this on a player?
He gave you the link and means to do it: Entity:SetGravity( number gravityMultiplier ) Replace Entity with the variable which references the player you want to target, such as ply. ply:SetGravity( number gravityMultiplier ) Now, replace number gravityMultiplier with the number you what to multiply their gravity by. number tells you that you need to use a number, and the variable tells you it's going to be 0-x. 0 being no gravity, 0.5 being half gravity, 1 being current, 2 being twice as much, and so on. ply:SetGravity( 0.5 )
Sorry, you need to Log In to post a reply to this thread.