Spajk Posted October 12, 2013 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?
Castillo Posted October 13, 2013 Posted October 13, 2013 1: You can, use the event onClientPlayerHitByWaterCannon with cancelEvent. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
myonlake Posted October 13, 2013 Posted October 13, 2013 2: You can always make a workaround with getCursorPosition and setCursorPosition. If I helped you, please click the like button on the right Thanks!
Spajk Posted October 13, 2013 Author 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
Dealman Posted October 13, 2013 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. If I help you in a thread and you need further assistance, please don't PM me - use the thread you created instead. This way everyone on the forum can take advantage of it.
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