I have a few prisoner_pods in my map, each with the name chair.
I have this in my gamemode:
for _, ent in pairs(ents.FindByName(‘lou_chair’)) do
ent.HandleAnimation = function(veh, ply)
But when you get in and out of the chairs, although the animations are correct, the jeep sounds are played. Can anyone explain why? I have also tried ent:SetKeyValue(“vehiclescript”, “scripts/vehicles/prisoner_pod.txt”) with no luck.