K̷i̷n̷g̷ x̷D̷ツ Posted May 30, 2017 Share Posted May 30, 2017 (edited) السلام عليكم ورحمة الله وبركاته يا اخوان وش الفنكشن او الحدث الي لازم استخدمه مشان احدد المكان الي يطلق فيه النار الشخص يعني الرصاصه وين تطب Edited May 30, 2017 by K̷i̷n̷g̷ x̷D̷ツ Link to comment
iMr.WiFi..! Posted May 30, 2017 Share Posted May 30, 2017 onPlayerWeaponFire وفيه بارتمرات يقولك وين طلق Link to comment
K̷i̷n̷g̷ x̷D̷ツ Posted May 30, 2017 Author Share Posted May 30, 2017 Just now, iMr.WiFi..! said: onPlayerWeaponFire وفيه بارتمرات يقولك وين طلق اوك شكراً يالغالي Link to comment
iMr.WiFi..! Posted May 30, 2017 Share Posted May 30, 2017 Just now, K̷i̷n̷g̷ x̷D̷ツ said: اوك شكراً يالغالي عفواً <3 Link to comment
K̷i̷n̷g̷ x̷D̷ツ Posted May 30, 2017 Author Share Posted May 30, 2017 (edited) 21 minutes ago, iMr.WiFi..! said: عفواً <3 قولي بخليه يطلق على اوبجكت هذي محاولتي شوف addEventHandler ("onPlayerWeaponFire", root, function (weapon, endX, endY, endZ, hitElement, startX, startY, startZ) local x,y,z = -3193.9821777344, 400.50186157227, 22.801750183105 local foha = createObject ( 5154,x,y,z, 90, 0, 0 ) if hitElement == foha then moveObject (foha,300,x+5,y+5,z+5) end end ) ما يتحرك الاوبجكت Edited May 30, 2017 by K̷i̷n̷g̷ x̷D̷ツ Link to comment
iMr.WiFi..! Posted May 30, 2017 Share Posted May 30, 2017 (edited) 3 minutes ago, K̷i̷n̷g̷ x̷D̷ツ said: قولي بخليه يطلق على اوبجكت هذي محاولتي شوف addEventHandler ("onPlayerWeaponFire", root, function (weapon, endX, endY, endZ, hitElement, startX, startY, startZ) local x,y,z = -3193.9821777344, 400.50186157227, 22.801750183105 local foha = createObject ( 5154,x,y,z, 90, 0, 0 ) if hitElement == foha then moveObject (foha,300,x+5,y+5,z+5) end end ) addEventHandler ("onPlayerWeaponFire", root, function (weapon, endX, endY, endZ, hitElement, startX, startY, startZ) local x,y,z = -3193.9821777344, 400.50186157227, 22.801750183105 local foha = createObject ( 5154,x,y,z, 90, 0, 0 ) if endX == x and endY == y+1 and endZ == z or hitElement == foha then moveObject (foha,300,x+5,y+5,z+5) end end ) Edited May 30, 2017 by iMr.WiFi..! Link to comment
K̷i̷n̷g̷ x̷D̷ツ Posted May 30, 2017 Author Share Posted May 30, 2017 Just now, iMr.WiFi..! said: addEventHandler ("onPlayerWeaponFire", root, function (weapon, endX, endY, endZ, hitElement, startX, startY, startZ) local x,y,z = -3193.9821777344, 400.50186157227, 22.801750183105 local foha = createObject ( 5154,x,y,z, 90, 0, 0 ) if endX == x and endY == y+1 and endZ == z then moveObject (foha,300,x+5,y+5,z+5) end end ) ترا جربت كذا بالاحول بس ذا ازا شخص اطلق بمكان الاوبجكت المحدد يعني ازا اطلق عليه بس بمكان ثاني ما يزبط Link to comment
iMr.WiFi..! Posted May 30, 2017 Share Posted May 30, 2017 Just now, K̷i̷n̷g̷ x̷D̷ツ said: ترا جربت كذا بالاحول بس ذا ازا شخص اطلق بمكان الاوبجكت المحدد يعني ازا اطلق عليه بس بمكان ثاني ما يزبط جرب كودي عدلته ,, Link to comment
K̷i̷n̷g̷ x̷D̷ツ Posted May 30, 2017 Author Share Posted May 30, 2017 Just now, iMr.WiFi..! said: جرب كودي عدلته ,, مو زابط Link to comment
iMr.WiFi..! Posted May 30, 2017 Share Posted May 30, 2017 (edited) addEventHandler ("onPlayerWeaponFire", root, function (weapon, endX, endY, endZ, hitElement, startX, startY, startZ) local x,y,z = -3193.9821777344, 400.50186157227, 22.801750183105 local foha = createObject ( 5154,x,y,z, 90, 0, 0 ) if endX == x and endY == y+1 and endZ == z then moveObject (foha,300,x+5,y+5,z+5) end end ) يعني مالك الا هالكود : ( + او تقدر تسوي بيد مخفي بمكان الاوبجكت وتحقق انه اذا البيد تدمج تحرك الاوبجكت Edited May 30, 2017 by iMr.WiFi..! Link to comment
K̷i̷n̷g̷ x̷D̷ツ Posted May 30, 2017 Author Share Posted May 30, 2017 1 minute ago, iMr.WiFi..! said: addEventHandler ("onPlayerWeaponFire", root, function (weapon, endX, endY, endZ, hitElement, startX, startY, startZ) local x,y,z = -3193.9821777344, 400.50186157227, 22.801750183105 local foha = createObject ( 5154,x,y,z, 90, 0, 0 ) if endX == x and endY == y+1 and endZ == z then moveObject (foha,300,x+5,y+5,z+5) end end ) يعني مالك الا هالكود : ( + او تقدر تسوي بيد مخفي بمكان الاوبجكت وتحقق انه اذا البيد تدمج تحرك الاوبجكت هممم يب جميل بسوي بيد وتحقق ازا تدمج خلاص شكراً Link to comment
iMr.WiFi..! Posted May 30, 2017 Share Posted May 30, 2017 Just now, K̷i̷n̷g̷ x̷D̷ツ said: هممم يب جميل بسوي بيد وتحقق ازا تدمج خلاص شكراً عفواً <3 Link to comment
K̷i̷n̷g̷ x̷D̷ツ Posted May 30, 2017 Author Share Posted May 30, 2017 (edited) local voo = createObject (1224,-3178.576171875, 415.37451171875, 22.801750183105,0,0,0) function ven(weapon, ammo, ammoInClip, hitX, hitY, hitZ, hitElement, x, y, z) if hitElement == voo then outputChatBox("damnnn",255,255,255) end end addEventHandler("onClientPlayerWeaponFire", root, ven) سويته وتمام شوف @iMr.WiFi..! Edited May 30, 2017 by K̷i̷n̷g̷ x̷D̷ツ Link to comment
iMr.WiFi..! Posted May 30, 2017 Share Posted May 30, 2017 2 minutes ago, K̷i̷n̷g̷ x̷D̷ツ said: local voo = createObject (1224,-3178.576171875, 415.37451171875, 22.801750183105,0,0,0) function ven(weapon, ammo, ammoInClip, hitX, hitY, hitZ, hitElement, x, y, z) if hitElement == voo then outputChatBox("damnnn",255,255,255) end end addEventHandler("onClientPlayerWeaponFire", root, ven) سويته وتمام شوف @iMr.WiFi..! جميل تقدر تطبق الاوبجكت الاول الي كنت تبيه Link to comment
K̷i̷n̷g̷ x̷D̷ツ Posted May 30, 2017 Author Share Posted May 30, 2017 Just now, iMr.WiFi..! said: جميل تقدر تطبق الاوبجكت الاول الي كنت تبيه ذاك كان تجريبي ض1 وذا تجريبي طبعاً ما ابيه يكتب بسويه شي ثاني Link to comment
iMr.WiFi..! Posted May 30, 2017 Share Posted May 30, 2017 Just now, K̷i̷n̷g̷ x̷D̷ツ said: ذاك كان تجريبي ض1 وذا تجريبي طبعاً ما ابيه يكتب بسويه شي ثاني بتوفيق لك <3 Link to comment
K̷i̷n̷g̷ x̷D̷ツ Posted May 30, 2017 Author Share Posted May 30, 2017 Just now, iMr.WiFi..! said: بتوفيق لك <3 يسلمو 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