dzek (varez) Posted January 27, 2010 Posted January 27, 2010 hi, theres any way to determine which player is responisble for car explode? onVehicleExplode has no arguments if not, will be this in MTA 1.1 (question for somebody who knows news from mta creators team) ? Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
Wojak Posted January 28, 2010 Posted January 28, 2010 hi,theres any way to determine which player is responisble for car explode? onVehicleExplode has no arguments if not, will be this in MTA 1.1 (question for somebody who knows news from mta creators team) ? i think it is posible only if player used a gun (impasible for melle and projectiles based weapons) --client onClientPlayerWeaponFire(function(weapon, ammo, ammoInClip, hitX, hitY, hitZ, hitElement) local name = getPlayerName(source) if getElementType(hitElement) == "Vehicle" then setElementData(hitElement, responisblePlayer, name) end end) --server onVehicleExplode(function() outputChatBox(getElementData(source, responisblePlayer).. " caused car explode") end) 1) i written it in the browser, it may not work at all 2) if it wil work, it will often lie... 3) i want parameters like in onPlayerWasted in onVehicleExplode to create your teleports and interiors in MTA map editor want more excitment in your race map? - add a killer bot you may also add some peds (NPC) - CARMAGEDDON STYLE! 2paq MTA:SA Race Server
dzek (varez) Posted January 28, 2010 Author Posted January 28, 2010 bad thing is that i want to destroy vehs with projectiles ok,its not necessary Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now