Fars Posted December 3, 2020 Share Posted December 3, 2020 when a player(pedestrian) hits a marker(checkpoint , corona ...) ,all his weapons will be removed. Link to comment
Addlibs Posted December 3, 2020 Share Posted December 3, 2020 If you're looking for someone to script it for you, you'd be better off trying here ☞ https://forum.multitheftauto.com/forum/149-looking-for-staff/ If you want to attempt it yourself: addEventHandler onMarkerHit takeAllWeapons 1 Link to comment
Hydra Posted December 3, 2020 Share Posted December 3, 2020 local myMarker = createMarker(x, y, z, "cylinder", size, red, green, blue, alpha, visibleTo) function onEnterMarkerTakeWeapons(hitElement,matchingDimension) if hitElement == source then takeAllWeapons(hitElement) end end addEventHandler("onMarkerHit", myMarker, onEnterMarkerTakeWeapons) 1 Link to comment
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