• Not sure if related to lua
    6 replies, posted
I want to edit a vehicle driver seat how do I do that? Thank you.
Be a little more specific?
Well I got a vehicle a scriped vehicle well actually pmp600 and it's bugged on my server the driver pod (chair w/e u call it) is not in the right position I wonder if I can edit it's position from the lua script or maybe from the vehicle script itself
You can modify the view with CalcView.
[QUOTE=Chessnut;36200710]You can modify the view with CalcView.[/QUOTE] I didn't mean to the view I meant the actual seat is not in the right place
its quite easy. i believe you can still alter the players position and angles even when they are in the vehicle. if you can, use [lua]ply:SetPos( ply:GetPos() + addition vector)[/lua] and [lua]ply:SetAngles( Angle() )[/lua] to move them around if you cant make a dummy entity and parent the player to it. then set the position and the angles of the dummy ent and the player will move with it.
I actually thought of that but I said maybe theres alter solution Thanks!
Sorry, you need to Log In to post a reply to this thread.