I have a script that spawns a jeep but i am having trouble setting the jeeps owner to the player who spawned it.
function vehiclespawn( ply, com)
local Jeep = ents.Create(“prop_vehicle_jeep_old”)
Jeep:SetPos(ply:GetPos() + ply:GetAngles():Forward() * 250)
I would greatly appreciate any help you can give.