K̷i̷n̷g̷ x̷D̷ツ Posted March 31, 2017 Share Posted March 31, 2017 السلام عليكم شباب محتاج استفسر عن ذا الشي setWeaponProperty كيف اخليه يشتغل لشخص 1 فقط مو للجميع مثال setWeaponProperty(26, "pro", "maximum_clip_ammo", 4444) كيف اخليه لشخص 1 فقط مو للكل Link to comment
K̷i̷n̷g̷ x̷D̷ツ Posted March 31, 2017 Author Share Posted March 31, 2017 بجرب function (thePlayer) if aSerials[ getPlayerSerial( thePlayer ) ] then setWeaponProperty(26,"pro","maximum_clip_ammo",4202) outputChatBox("sawed off ammo!",thePlayer) end end ) وين مشكلته @#Soking يالاخو ممكن تساعدني بذا كيف اخلي setWeaponProperty خاصه لشخص 1 فقط Link to comment
Abdul KariM Posted March 31, 2017 Share Posted March 31, 2017 ماتقدر لان الفنكشن هذا لو تحط ايدي سلاح اي واحد ياخذ سلاح راح تجيه الخاصية Link to comment
#Soking Posted March 31, 2017 Share Posted March 31, 2017 2 minutes ago, K̷i̷n̷g̷ x̷D̷ツ said: @#Soking يالاخو ممكن تساعدني بذا كيف اخلي setWeaponProperty خاصه لشخص 1 فقط مأعتقد ينفع لـ شخص وأحد لاكن ينفع تسوي بـ حدث onPlayerDamage و تنقص من دم الامنت , 5 غير الدمج فاهمني ض1 Link to comment
K̷i̷n̷g̷ x̷D̷ツ Posted March 31, 2017 Author Share Posted March 31, 2017 @#Soking + @Abdul KariM افحصو سيرفر hell party فيه مود كذا مهارات الاسلحه كل ما تزيد نقطه بالسلاح السلاح يصير اقوى فقط الك Link to comment
#Soking Posted March 31, 2017 Share Posted March 31, 2017 8 minutes ago, K̷i̷n̷g̷ x̷D̷ツ said: @#Soking + @Abdul KariM افحصو سيرفر hell party فيه مود كذا مهارات الاسلحه كل ما تزيد نقطه بالسلاح السلاح يصير اقوى فقط الك setPedStat Link to comment
K̷i̷n̷g̷ x̷D̷ツ Posted March 31, 2017 Author Share Posted March 31, 2017 بس السلاح ما يصير اقوى يضل نفس القوه كذا @#Soking Link to comment
#Soking Posted March 31, 2017 Share Posted March 31, 2017 addEventHandler ( 'onPlayerDamage' , root , function ( aAttacker_ ) if ( getElementType ( aAttacker_ ) == 'player' and aAttacker_ ~= source ) then local aData_ = ( getElementData ( aAttacker_ , 'State_' ) or 0 ) if ( aData_ ) then setElementHealth ( source , ( getElementHealth ( source ) - aData_ ) ) end end end ) Link to comment
K̷i̷n̷g̷ x̷D̷ツ Posted March 31, 2017 Author Share Posted March 31, 2017 @#Soking اول شي شكراً ثاني شي ممكن تشرح شوي عنه Link to comment
Master_MTA Posted March 31, 2017 Share Posted March 31, 2017 (edited) 1 hour ago, K̷i̷n̷g̷ x̷D̷ツ said: @#Soking اول شي شكراً ثاني شي ممكن تشرح شوي عنه Edited March 31, 2017 by Master_MTA 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