ABO-SR777777A Posted March 17, 2013 Share Posted March 17, 2013 السلام عليكم شباب انا عندي كود اذا مت يطلع لك صوت انا مابي يطلعلك صوت اذا مت ابي اذا قتلت يطلع لك صوت هذا الكود ---------------- sounds = { 'sound1.mp3', 'sound2.mp3', 'sound3.mp3', 'sound4.mp3', 'sound5.mp3' } addEventHandler("onClientPlayerWasted", localPlayer, function ( killer, weapon, bodypart ) playSound( sounds[math.random(1, #sounds)] ) end ) -------- لاحد يطرحلي الكود جاهز يعلمني وانا اسوي Link to comment
yazan Posted March 17, 2013 Share Posted March 17, 2013 (edited) https://wiki.multitheftauto.com/wiki/OnPlayerWasted ذا مثال انا بعمل مثل ما انت تبيه بس مو صوت على شي ثاني Edited March 17, 2013 by Guest Link to comment
jafar Posted March 17, 2013 Share Posted March 17, 2013 عتقد onClientPlayerDamage ذا اذا اللاعب صادته طلقة Link to comment
hassan.k.s.a Posted March 17, 2013 Share Posted March 17, 2013 if ( killer ) and ( killer ~= source ) and ( killer == localPlayer ) then Link to comment
TAPL Posted March 18, 2013 Share Posted March 18, 2013 if ( killer ) and ( killer ~= source ) and ( killer == localPlayer ) then + addEventHandler("onClientPlayerWasted", localPlayer, المفروض يكون addEventHandler("onClientPlayerWasted", root, 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