HUNGRY:3 Posted June 26, 2015 Share Posted June 26, 2015 hello i made a script that who has data of run and jumps in water die but it's not working code: function killinwater(source) if getElementData(source,"RUN") == true then if isPedInWater (source) then killPed(source) end end end Link to comment
Tekken Posted June 26, 2015 Share Posted June 26, 2015 Replace isPedInWater with isElementInWater. This function is deprecated. This means that its use is discouraged and that it might not exist in future versions.Please use isElementInWater instead. Link to comment
HUNGRY:3 Posted June 26, 2015 Author Share Posted June 26, 2015 Replace isPedInWater with isElementInWater.This function is deprecated. This means that its use is discouraged and that it might not exist in future versions.Please use isElementInWater instead. well not working ;/ Link to comment
HUNGRY:3 Posted June 26, 2015 Author Share Posted June 26, 2015 i did it it works now thanks 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