Hey i tried to make this, like 1 hit one kill
But don't want players to die with fire.
addEventHandler("onPlayerDamage", getRootElement() ,
function (attacker, weapon, bodypart, loss)
killPed(source,attacker,weapon)
end
)
hey, I tried Alot but still i'm not able to attach vehicle to objects, I'm trying to make moving vehicle, So i decided to attach the vehicle to moving object and change the alpha of the objects, Objects are getting created but vehicles are not getting attached to it.
I wanted to attach a vehicle to an invisible object, What functions should i use. It would be great if it's posted with a example.
I'm beginner lua scripter.