[DONE]* Posted January 27, 2016 Share Posted January 27, 2016 السلام عليكم الكود: shap1 = createColRectangle ( -1642, -2400, 405, 351) addEventHandler ('onClientPlayerDamage',getLocalPlayer(), function(attacker) if isElementWithinColShape (localPlayer,shap1) then cancelEvent () end end) المشكلة ان الحدث ما يتكنسل ابدا .. Link to comment
[DONE]* Posted January 27, 2016 Author Share Posted January 27, 2016 الكود شغال مافي شئ انت مجربه ولا تشوف انه مافي اخطاء ؟! Link to comment
#|_oskar_|# Posted January 27, 2016 Share Posted January 27, 2016 الكود شغال مافي شئ انت مجربه ولا تشوف انه مافي اخطاء ؟! جربته وشغال Link to comment
#STZ Posted January 28, 2016 Share Posted January 28, 2016 السلام عليكمالكود: shap1 = createColRectangle ( -1642, -2400, 405, 351) addEventHandler ('onClientPlayerDamage',getLocalPlayer(), function(attacker) if isElementWithinColShape (localPlayer,shap1) then cancelEvent () end end) المشكلة ان الحدث ما يتكنسل ابدا .. حبي نهاية الكود end end ) Link to comment
ALw7sH Posted January 28, 2016 Share Posted January 28, 2016 shap1 = createColRectangle ( -1642, -2400, 405, 351) addEventHandler ('onClientPlayerDamage',root, function(attacker) if isElementWithinColShape (source,shap1) then cancelEvent () end end) 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