Spajk Posted October 12, 2013 Share Posted October 12, 2013 Actually, only 2 questions 1. Disabling water cannon Is there a way to disable the water cannon and when player tries to use it, do something else? 2. Is there a way to change the speed of player's cursor? Link to comment
Castillo Posted October 13, 2013 Share Posted October 13, 2013 1: You can, use the event onClientPlayerHitByWaterCannon with cancelEvent. Link to comment
myonlake Posted October 13, 2013 Share Posted October 13, 2013 2: You can always make a workaround with getCursorPosition and setCursorPosition. Link to comment
Spajk Posted October 13, 2013 Author Share Posted October 13, 2013 @Castillo I know about that, but that will just cancel the effect when the water hits the player, what I need is a way to disable it completely ( No water coming out of the turret) @myonlake Hmmm, I will try something Link to comment
Dealman Posted October 13, 2013 Share Posted October 13, 2013 I haven't tried it, but you could try to check if the player is in a Firetruck or S.W.A.T, and if so, disable the vehicle_fire and/or vehicle_secondary_fire control by using toggleControl. This is what I used to disable the horn when adding custom sounds for the horn - but I don't see why it shouldn't work to disable the water cannon. 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