-RoCk-Alex Posted March 12, 2012 Share Posted March 12, 2012 is there any script by which when a player jumps in water he Dies (need for a map)? please tell Link to comment
TAPL Posted March 12, 2012 Share Posted March 12, 2012 function waterCheck() for i, player in ipairs(getElementsByType("player")) do if isElementInWater(player) then killPed(player) end end end setTimer(waterCheck,1000,0) Link to comment
Kenix Posted March 12, 2012 Share Posted March 12, 2012 Maybe kill in water? setTimer( function( ) if isElementInWater( localPlayer ) then setElementHealth( localPlayer, 0 ) end end, 1000, 0 ) Client side. 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