SAM!! Posted June 22, 2018 Share Posted June 22, 2018 السلام عليكم شباب الحين انا مسوي مود يعطي اختفاء بس لما الشخص يمود يضل معة الاختفاء انا ابي لما يموت يظهر ثاني وشكرااااااااااااااا addEvent ( "buyInvisible", true) addEventHandler ( "buyInvisible", root, function ( ) local accName = getAccountName ( getPlayerAccount ( source ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "VIP" ) ) then local check = getElementAlpha ( source ) == 255 if ( getPlayerMoney ( source ) >= 0 ) then takePlayerMoney ( source, check and 0 or 0 ) outputChatBox ( check and "Now You Hide" or "Now You show", source, 0, 255, 0, true ) setElementAlpha ( source, check and 0 or 255 ) setPlayerNametagShowing ( source, not check ) end end end ) Link to comment
N3xT Posted June 22, 2018 Share Posted June 22, 2018 addEventHandler("onPlayerWasted", root, function ( ) if ( getElementAlpha ( source ) ~= 255 ) then setElementAlpha ( source, 255 ) end end ) Link to comment
SAM!! Posted June 22, 2018 Author Share Posted June 22, 2018 N3xT ذا احطة فين ممكن الكود كامل # Link to comment
SAM!! Posted June 22, 2018 Author Share Posted June 22, 2018 N3xT تمام اشتغلت بالسيرفر طيب بالنسبة للقفزة العالية ابي لما اموت يصير ييقفز عادي setWorldSpecialPropertyEnabled ( "extrajump", true ) Link to comment
N3xT Posted June 22, 2018 Share Posted June 22, 2018 (edited) لازم تسوي تريقر للكلنت ولا ضيف الحدث حق الموت بالكلنت onClientPlayerWasted Edited June 22, 2018 by N3xT 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