Player standing on air
I'm working on a plugin to drive cars, and I want to make the player to see the car outside, so I teleport him to Car Z + 256, but the problem it's the gravity, is always pushing down him. Every 0.05 it updates the origin (To follow the car). I've already tryed to put gravity 0.0, noclip, fly... Nothing work... Take a look at code and help me please:
Code:
Mod: Sven co-op |
Code:
The minimum is 0.1 Code:
|
0.05 works too, it changes the origin of player. But the problem its how to set the player on air, without falling or moving?
|
Quote:
The site says: * Float:time - Interval of timer in second. (minimum 0.1 seconds) Try set_user_maxspeed(id,0.0) and set_user_gravity(id,0.0) |
I've tryed to put gravity 0.0 and it stays falling... about max_speed I dont realy need because the player cant move long, also it says to the same place.
|
I'm sorry i can't help you further, i still need to learn too.
Entity's are hard. :oops: |
Well... I was looking on Vectors keys, and I've found: EV_VEC_velocity
Code:
|
| All times are GMT -4. The time now is 20:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.