ayman1998 Posted March 7, 2014 Share Posted March 7, 2014 ايش الغلط لما يكون في الكول شيب يموت انا ما بدي يموت local Cls = createColRectangle ( x, y, 192, 145 ) addEventHandler ( "onClientPlayerDamage", getLocalPlayer ( ), function ( ) if isElementWithinColShape ( LocalPlayer, Cls ) then cancelEvent ( ) end end ) Link to comment
فاّرس Posted March 7, 2014 Share Posted March 7, 2014 -- Client Side # local Cls = createColRectangle ( x, y, 192, 145 ) addEventHandler ( 'onClientPlayerDamage', localPlayer,function ( ) if isElementWithinColShape ( source, Cls ) then cancelEvent ( ) end end ) Link to comment
فاّرس Posted March 7, 2014 Share Posted March 7, 2014 The source of this event is the player that got damaged. (Streamed in players only) Link to comment
ayman1998 Posted March 7, 2014 Author Share Posted March 7, 2014 لا اشتغل زي الفل مشكور زبط 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