marinov327 Posted June 16, 2018 Share Posted June 16, 2018 Hello, everyone. Before I remember as little as I played in a server that had sharks. When you enter the water and a shark appears to kill you. Can anyone design or find such a mod? Link to comment
Moderators Patrick Posted June 16, 2018 Moderators Share Posted June 16, 2018 (edited) setTimer -- looping a check function isElementInWater -- in this function you check player is in water createObject -- if player in the water, you create a shark object, under the player moveObject -- move the shark object up, to player killPed -- if shark reach the player you kill the player destroyElement -- destroy the shark object at end Edited June 16, 2018 by Patrick2562 Link to comment
marinov327 Posted June 16, 2018 Author Share Posted June 16, 2018 3 hours ago, Patrick2562 said: setTimer -- looping a check function isElementInWater -- in this function you check player is in water createObject -- if player in the water, you create a shark object, under the player moveObject -- move the shark object up, to player killPed -- if shark reach the player you kill the player destroyElement -- destroy the shark object at end Please assemble it to me that I do not understand .. Link to comment
Moderators Patrick Posted June 16, 2018 Moderators Share Posted June 16, 2018 What dont you understand? Here you can get help. We will not do it for you. 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