KainDepZai Posted March 27, 2015 Share Posted March 27, 2015 local pos = getElementPosition(thePlayer) local x,y,z = -2337.544921875, -1618.7431640625, 483.71304321289 function toxic (thePlayer) if x,y,z == "pos" then outputChatBox("Bạn bị nhiễm phóng xạ từ boss") setElementData(player,"blood",-1000) end end setTimer(toxic,10000,0) Link to comment
WhoAmI Posted March 27, 2015 Share Posted March 27, 2015 local x,y,z = getElementPosition(thePlayer) local x1,y1,z1 = -2337.544921875, -1618.7431640625, 483.71304321289 function toxic (thePlayer) if x == x1 and y == y1 and z == z1 then outputChatBox("Bạn bị nhiễm phóng xạ từ boss") setElementData(player,"blood",-1000) end end setTimer(toxic,10000,0) 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