tosfera Posted December 21, 2013 Posted December 21, 2013 Hi guys, So I've been having trouble with hitting objects, like a vehicle hits an object or whenever a player smashes an object or shoots at it. There is a way to cancel it already ( breakable option ) but we can't use it as a real function / event already. There is a onClientPlayerDamage but that only works for players. I'd like to cancel the effect if a player drives into a tree or a lightpole. Any chance that the dev's could make this or is there already something like this? ^^ ( if it's not there I'm going to bribe, mwuahahah ) - Thanks If you want to contact me directly concerning Advanced-Gaming, please contact me at [email protected]
denny199 Posted December 22, 2013 Posted December 22, 2013 https://wiki.multitheftauto.com/wiki/On ... eCollision ?? for cars?? https://wiki.multitheftauto.com/wiki/On ... jectDamage ?? for objects?? Sometimes I dream about cheese
tosfera Posted December 23, 2013 Author Posted December 23, 2013 Will the OnClientObjectDamage cover the fuel stations? Like, make them non-explodeable. If you want to contact me directly concerning Advanced-Gaming, please contact me at [email protected]
myonlake Posted December 23, 2013 Posted December 23, 2013 Will the OnClientObjectDamage cover the fuel stations? Like, make them non-explodeable. https://wiki.multitheftauto.com/wiki/OnClientExplosion If I helped you, please click the like button on the right Thanks!
DiSaMe Posted December 23, 2013 Posted December 23, 2013 removeWorldModel createObject "onClientVehicleCollision" "onClientObjectDamage" createExplosion destroyElement -
tosfera Posted December 24, 2013 Author Posted December 24, 2013 Will the OnClientObjectDamage cover the fuel stations? Like, make them non-explodeable. https://wiki.multitheftauto.com/wiki/OnClientExplosion Love you. If you want to contact me directly concerning Advanced-Gaming, please contact me at [email protected]
Jusonex Posted December 27, 2013 Posted December 27, 2013 Will the OnClientObjectDamage cover the fuel stations? Like, make them non-explodeable. You can use onClientObjectDamage as well as onClientObjectBreak to prevent the fuel station from exploding (in case of you're working with MTA elements).
Recommended Posts