ALw7sH Posted February 4, 2014 Share Posted February 4, 2014 السلام عليكم ورحمة الله وش الفنكشنات الي بحتاجها عشان أصنع مود أذا احد قتل أحد بالهنتر يكتب بالشات colonel has kill noob اسم الي اقتل والي أنقتل مابي اكواد جاهزه بس أبي الفنكشنات والايفنت الي بحتاجهم Link to comment
#DRAGON!FIRE Posted February 4, 2014 Share Posted February 4, 2014 السلام عليكم ورحمة اللهوش الفنكشنات الي بحتاجها عشان أصنع مود أذا احد قتل أحد بالهنتر يكتب بالشات colonel has kill noob اسم الي اقتل والي أنقتل مابي اكواد جاهزه بس أبي الفنكشنات والايفنت الي بحتاجهم Event: "onClientPlayerDamage" getPedOccupiedVehicle getElementModel outputChatBox Link to comment
ALw7sH Posted February 4, 2014 Author Share Posted February 4, 2014 السلام عليكم ورحمة اللهوش الفنكشنات الي بحتاجها عشان أصنع مود أذا احد قتل أحد بالهنتر يكتب بالشات colonel has kill noob اسم الي اقتل والي أنقتل مابي اكواد جاهزه بس أبي الفنكشنات والايفنت الي بحتاجهم Event: "onClientPlayerDamage" getPedOccupiedVehicle getElementModel outputChatBox "onClientPlayerDamage" ? تجي للهنتر ؟ : | Link to comment
#DRAGON!FIRE Posted February 4, 2014 Share Posted February 4, 2014 السلام عليكم ورحمة اللهوش الفنكشنات الي بحتاجها عشان أصنع مود أذا احد قتل أحد بالهنتر يكتب بالشات colonel has kill noob اسم الي اقتل والي أنقتل مابي اكواد جاهزه بس أبي الفنكشنات والايفنت الي بحتاجهم Event: "onClientPlayerDamage" getPedOccupiedVehicle getElementModel outputChatBox "onClientPlayerDamage" ? تجي للهنتر ؟ : | onPlayerWasted نسيت اقلك يمديك تستخدمها او تستخدم ... الفرق الحدث الأول وقت يتضرر اللاعب والثاني وقت يموت فـ شف اللي يناسبكـ .. Link to comment
ALw7sH Posted February 4, 2014 Author Share Posted February 4, 2014 ماتوقع يستوي بذولي الفنكشنات بس ! انا كنت ابحث عن ناس سألو من قبلي ف القسم الانجليزي كانو الفنكشنات اكثر والاكواد اطول Link to comment
jafar Posted February 4, 2014 Share Posted February 4, 2014 جرب , addEventHandler ( "onPlayerWasted", root, function ( _, killer ) if isElement ( killer ) and source ~= killer then if isPedInVehicle ( killer ) then local vehicle = getPedOccupiedVehicle ( killer ); if vehicle then if getElementModel ( vehicle ) == 425 then outputChatBox ( getPlayerName ( killer ) .. " has kill " .. getPlayerName ( source ) .. " By Hunter." ); end end end end end ); Link to comment
ALw7sH Posted February 4, 2014 Author Share Posted February 4, 2014 جرب , addEventHandler ( "onPlayerWasted", root, function ( _, killer ) if isElement ( killer ) and source ~= killer then if isPedInVehicle ( killer ) then local vehicle = getPedOccupiedVehicle ( killer ); if vehicle then if getElementModel ( vehicle ) == 425 then outputChatBox ( getPlayerName ( killer ) .. " has kill " .. getPlayerName ( source ) .. " By Hunter." ); end end end end end ); اذا هنتر قتل هنتر مايجي شي والديبق مافيه شي ماتجي اخطاء 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