xX|KeMo|Xx Posted August 17, 2012 Share Posted August 17, 2012 سلام عليكم شباب ابي كود اذا قتلت لاعب يجيك في نص الشاشه headshout حاولت اسويه ما عرفت ياريت تساعدوني وشكرا رساله لمشرفنا تابل:. اخوي بتمنا انك تقرا رسالتي في الخاص وبس Link to comment
hassan.k.s.a Posted August 17, 2012 Share Posted August 17, 2012 https://wiki.multitheftauto.com/wiki/OnC ... ayerWasted https://wiki.multitheftauto.com/wiki/OnC ... ayerDamage Link to comment
xX|KeMo|Xx Posted August 17, 2012 Author Share Posted August 17, 2012 ابي الراسله dx text وتيجي للي قتل مو الي انقتل وشكرا Link to comment
===[PRO]=== Posted August 17, 2012 Share Posted August 17, 2012 addEventHandler("onPlayerWasted",getRootElement(), function(killer,weapon ) if ( killer ) and ( killer ~= source ) then name = getPlayerName(source) exports.easytext:displayMessageForPlayer(killer ,1, "You Killed: " .. name .. "",5000, 0.5, 0.3, 255, 255, 0, 255, 1.2) end end ) شغل مود easytext Link to comment
./BlackBird# Posted August 17, 2012 Share Posted August 17, 2012 addEventHandler("onPlayerWasted",getRootElement(), function(killer,weapon ) if ( killer ) and ( killer ~= source ) then exports.easytext:displayMessageForPlayer(killer ,1, "HeadShout ",5000, 0.5, 0.3, 255, 255, 0, 255, 1.2) end end ) تعديل مود ==[PRO]=== Link to comment
xX|KeMo|Xx Posted August 17, 2012 Author Share Posted August 17, 2012 addEventHandler("onPlayerWasted",getRootElement(), function(killer,weapon ) if ( killer ) and ( killer ~= source ) then exports.easytext:displayMessageForPlayer(killer ,1, "HeadShout ",5000, 0.5, 0.3, 255, 255, 0, 255, 1.2) end end ) ابي اغير مكانها كيف اغير اي ارقان وذا ابي اغير الون اي ارقام Link to comment
top sniper Posted August 17, 2012 Share Posted August 17, 2012 addEventHandler("onPlayerWasted",getRootElement(), function(killer) name = getPlayerName(killer) exports.easytext:displayMessageForPlayer(killer ,1, "You Killed: " .. name .. "",5000, 0.5, 0.3, 255, 255, 0, 255, 1.2) end end ) شغل مود easytext Link to comment
Booo Posted August 17, 2012 Share Posted August 17, 2012 سلام عليكم شباب ابي كود اذا قتلت لاعب يجيك في نص الشاشه headshout حاولت اسويه ما عرفت ياريت تساعدوني وشكرا رساله لمشرفنا تابل:. اخوي بتمنا انك تقرا رسالتي في الخاص وبس وعليكم السلام ورحمة الله وبركاته ( addEventHandler("onPlayerWasted",getRootElement(), function(b,oo,ooo,_booo ) if ( oo ) and ( oo ~= source ) then if ( _booo == 9 ) then exports.easytext:displayMessageForPlayer(oo ,1, "Head Shot ",5000, 0.5, 0.3, 255, 255, 0, 255, 1.2) end end end Link to comment
xX|KeMo|Xx Posted August 17, 2012 Author Share Posted August 17, 2012 هل اقدر اسويها DX Text server addEventHandler("onPlayerWasted",getRootElement(), function(killer,weapon ) if ( killer ) and ( killer ~= source ) then triggerClientEvent ("HeadShout",killer ) end end ) Client addEvent( "HeadShout", true ) addEventHandler( "HeadShout", killer ) dxDrawText <---- ابي احط المسج هنا | ونوعه يكون end ) تمشي هذي الطريقة؟ Link to comment
Al3grab Posted August 17, 2012 Share Posted August 17, 2012 هل اقدر اسويهاDX Text server addEventHandler("onPlayerWasted",getRootElement(), function(killer,weapon ) if ( killer ) and ( killer ~= source ) then triggerClientEvent ("HeadShout",killer ) end end ) Client addEvent( "HeadShout", true ) addEventHandler( "HeadShout", killer ) dxDrawText <---- ابي احط المسج هنا | ونوعه يكون end ) تمشي هذي الطريقة؟ "onClientPlayerWasted" Link to comment
hassan.k.s.a Posted August 17, 2012 Share Posted August 17, 2012 addEventHandler("onPlayerWasted",getRootElement(), addEventHandler("onClientRender",getRootElement(), function(killer,weapon ) if ( killer ) and ( killer ~= source ) then triggerClientEvent ("HeadShout",killer ) end end ) Link to comment
TAPL Posted August 17, 2012 Share Posted August 17, 2012 addEventHandler("onPlayerWasted",getRootElement(), addEventHandler("onClientRender",getRootElement(), function(killer,weapon ) if ( killer ) and ( killer ~= source ) then triggerClientEvent ("HeadShout",killer ) end end ) Link to comment
hassan.k.s.a Posted August 17, 2012 Share Posted August 17, 2012 addEventHandler("onPlayerWasted",getRootElement(), addEventHandler("onClientRender",getRootElement(), function(killer,weapon ) if ( killer ) and ( killer ~= source ) then triggerClientEvent ("HeadShout",killer ) end end ) هع توقعت لأني قطيتله السطر وبس هع Link to comment
hassan.k.s.a Posted August 17, 2012 Share Posted August 17, 2012 اتوقع هذا addEventHandler ( "onClientRender", root, a ) addEventHandler("onPlayerWasted",getRootElement(), function a(killer,weapon ) if ( killer ) and ( killer ~= source ) then triggerClientEvent ("HeadShout",killer ) end end ) Link to comment
===[PRO]=== Posted August 18, 2012 Share Posted August 18, 2012 addEventHandler ( "onClientRender", root, a )addEventHandler("onPlayerWasted",getRootElement(), function a(killer,weapon ) if ( killer ) and ( killer ~= source ) then triggerClientEvent ("HeadShout",killer ) end end ) وين وجدت هدا الكود؟ Link to comment
./BlackBird# Posted August 18, 2012 Share Posted August 18, 2012 addEventHandler ( "onClientRender", root, a )addEventHandler("onPlayerWasted",getRootElement(), function a(killer,weapon ) if ( killer ) and ( killer ~= source ) then triggerClientEvent ("HeadShout",killer ) end end ) وين وجدت هدا الكود؟ المريخ Link to comment
hassan.k.s.a Posted August 18, 2012 Share Posted August 18, 2012 addEventHandler ( "onClientRender", root, a )addEventHandler("onPlayerWasted",getRootElement(), function a(killer,weapon ) if ( killer ) and ( killer ~= source ) then triggerClientEvent ("HeadShout",killer ) end end ) وين وجدت هدا الكود؟ هل اقدر اسويهاDX Text server addEventHandler("onPlayerWasted",getRootElement(), function(killer,weapon ) if ( killer ) and ( killer ~= source ) then triggerClientEvent ("HeadShout",killer ) end end ) Client addEvent( "HeadShout", true ) addEventHandler( "HeadShout", killer ) dxDrawText <---- ابي احط المسج هنا | ونوعه يكون end ) تمشي هذي الطريقة؟ ^+"onClientRender" "onClientPlayerWasted" = addEventHandler ( "onClientRender", getRootElement(), a ) addEventHandler("onClientPlayerWasted",getRootElement(), function a(killer,weapon ) if ( killer ) and ( killer ~= source ) then triggerClientEvent ("HeadShout",killer ) end end ) or addEventHandler ( "onClientRender", getRootElement(), addEventHandler("onClientPlayerWasted",getRootElement(), function (killer,weapon ) if ( killer ) and ( killer ~= source ) then triggerClientEvent ("HeadShout",killer ) end end ) ) Link to comment
Bssol Posted August 18, 2012 Share Posted August 18, 2012 (edited) ^^^^^^ الى حسن كودك خطأ triggerClientEvent ("HeadShout",killer ) سيرفر في كلينت جرب ذا وردلي خبر --- Client Side local screenWidth, screenHeight = guiGetScreenSize ( ) local timer = nil local text = "" function updateText() dxDrawText ( text, 44, screenHeight - 41, screenWidth, screenHeight, tocolor ( 0, 0, 0, 255 ), 1.02, "pricedown" ) end addEventHandler ( "onClientRender", getRootElement(), updateText ) function onWasted ( killer ) if ( killer ) and ( killer ~= source ) and ( killer == getLocalPlayer() ) then if ( isTimer ( timer ) ) then killTimer ( timer ) end text = "Headshot" timer = setTimer ( function() text = "" end, 5000, 1 ) end end addEventHandler ( "onClientPlayerWasted", getRootElement(), onWasted ) وعليك تضبيط الـ DX Edited August 18, 2012 by Guest Link to comment
hassan.k.s.a Posted August 18, 2012 Share Posted August 18, 2012 ^^^^^^الى حسن كودك خطأ triggerClientEvent ("HeadShout",killer ) سيرفر في كلينت جرب ذا وردلي خبر --- Client Side local screenWidth, screenHeight = guiGetScreenSize ( ) local timer = nil local text = "" function updateText() dxDrawText ( text, 44, screenHeight - 41, screenWidth, screenHeight, tocolor ( 0, 0, 0, 255 ), 1.02, "pricedown" ) end addEventHandler ( "onClientRender", getRootElement(), updateText ) function onWasted ( killer ) if ( killer ) and ( killer ~= source ) and ( killer == getLocalPlayer() ) then if ( isTimer ( timer ) ) then killTimer ( timer ) end timer = setTimer ( function() text = "" end, 5000, 1 ) end end addEventHandler ( "onClientPlayerWasted", getRootElement(), onWasted ) وعليك تضبيط الـ DX لأ انا ماركزت بكود ولا فكرت بلأصل فيه انا خذت مشاركت ومشاركت تابل والعقرب وضفت الكو د الي العقرب قال ضيفه والكود حق تابل خطأ صح مادري عنه ض1 علي اني ضفته مو مركز أصلا بالكود حقه كامل وانا ماقلت هااذا الكود صح هو قالي من وين جبته وانا رديتله بلأقتباس للردود وتسلم على الرد الي احسن من غيره Link to comment
Bssol Posted August 18, 2012 Share Posted August 18, 2012 لوول رديت انت في نفس الوقت الي انا مسوي تعديل راجع التعديل، كنت ناسي احط text = "Headshot" تلقاها في الاخير Link to comment
hassan.k.s.a Posted August 18, 2012 Share Posted August 18, 2012 لوول رديت انت في نفس الوقت الي انا مسوي تعديلراجع التعديل، كنت ناسي احط text = "Headshot" تلقاها في الاخير لاتنسى الكود مو لي حق كيمو Link to comment
xX|KeMo|Xx Posted August 19, 2012 Author Share Posted August 19, 2012 اخواني الكود ما اشتغل Link to comment
TAPL Posted August 19, 2012 Share Posted August 19, 2012 شغال يا عزيزي و مثل ما قال لك بسول وعليك تضبيط الـ DX حالياً الكلام بيجي لك باللون الأسود و تحديداً تحت الخريطة ( الرادار) و يختفي بعد 5 ثواني 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