ABO-SR777777A Posted October 29, 2012 Author Posted October 29, 2012 addEventHandler("onPlayerWasted", getRootElement(), function(_,killer) money = math.random(200,1000) givePlayerMoney(killer,money) name = getPlayerName(source) outputChatBox("You killed"..name.."and get"..money,killer,0,255,0) end) كذا
ABO-SR777777A Posted October 29, 2012 Author Posted October 29, 2012 جربت الكود في برنامج TASA Script Editor ماحاني ولا خطأ جزاكم الله خير وكل من ساعدني
ABO-SR777777A Posted October 29, 2012 Author Posted October 29, 2012 ممكن طلب اخر الى يموت تنسحب منه فلوسه تنسحب منه 100 ريال مثلا كيف ممكن الاي فنت فقط لااحد يسويلي الكود
./BlackBird# Posted October 29, 2012 Posted October 29, 2012 شوف هذا الايفينت onPlayerWasted لما يموت الاعب
TAPL Posted October 29, 2012 Posted October 29, 2012 ممكن طلب اخر الى يموت تنسحب منه فلوسه تنسحب منه 100 ريال مثلا كيف ممكن الاي فنت فقط لااحد يسويلي الكود addEventHandler("onPlayerWasted", root, function(_,killer) local name = getPlayerName(source) local money = math.random(200,1000) givePlayerMoney(killer, money) takePlayerMoney(source, 100) outputChatBox("You killed "..name.." and get "..money, killer, 0,255,0) end)
ABO-SR777777A Posted October 29, 2012 Author Posted October 29, 2012 ثانكس تابل بس لو انسحبت يطلع له كلام تم سحب منك
./BlackBird# Posted October 29, 2012 Posted October 29, 2012 addEventHandler("onPlayerWasted", root, function(_,killer) local name = getPlayerName(source) local namek = getPlayerName(killer) local money = math.random(200,1000) givePlayerMoney(killer, money) takePlayerMoney(source, 100) outputChatBox("You killed "..name.." and get "..money, killer, 0,255,0) outputChatBox(namek.." killed You and You lost 100$", source, 255,0,0) end)
TAPL Posted October 29, 2012 Posted October 29, 2012 addEventHandler("onPlayerWasted", root, function(_,killer) local name = getPlayerName(source) local namek = getPlayerName(killer) local money = math.random(200,1000) givePlayerMoney(killer, money) takePlayerMoney(source, 100) outputChatBox("You killed "..name.." and get "..money, killer, 0,255,0) outputChatBox(namek.." killed You and You lost 100$", source, 255,0,0) end) ودي أعرف المسافة الي بالكود من وين جات
./BlackBird# Posted October 29, 2012 Posted October 29, 2012 addEventHandler("onPlayerWasted", root, function(_,killer) local name = getPlayerName(source) local namek = getPlayerName(killer) local money = math.random(200,1000) givePlayerMoney(killer, money) takePlayerMoney(source, 100) outputChatBox("You killed "..name.." and get "..money, killer, 0,255,0) outputChatBox(namek.." killed You and You lost 100$", source, 255,0,0) end) ودي أعرف المسافة الي بالكود من وين جات انا ناسخه منك
TAPL Posted October 29, 2012 Posted October 29, 2012 addEventHandler("onPlayerWasted", root, function(_,killer) local name = getPlayerName(source) local namek = getPlayerName(killer) local money = math.random(200,1000) givePlayerMoney(killer, money) takePlayerMoney(source, 100) outputChatBox("You killed "..name.." and get "..money, killer, 0,255,0) outputChatBox(namek.." killed You and You lost 100$", source, 255,0,0) end) ودي أعرف المسافة الي بالكود من وين جات انا ناسخه منك أنا كودي مافيه مسافة ذا كودي addEventHandler("onPlayerWasted", root, function(_,killer) local name = getPlayerName(source) local money = math.random(200,1000) givePlayerMoney(killer, money) takePlayerMoney(source, 100) outputChatBox("You killed "..name.." and get "..money, killer, 0,255,0) end) وذا كودك addEventHandler("onPlayerWasted", root, function(_,killer) local name = getPlayerName(source) local namek = getPlayerName(killer) local money = math.random(200,1000) givePlayerMoney(killer, money) takePlayerMoney(source, 100) outputChatBox("You killed "..name.." and get "..money, killer, 0,255,0) outputChatBox(namek.." killed You and You lost 100$", source, 255,0,0) end)
./BlackBird# Posted October 29, 2012 Posted October 29, 2012 انا ظغطت select all و نسخته مدري من وين جت الفراغات
Joker_Mta Posted October 29, 2012 Posted October 29, 2012 addEventHandler("onPlayerWasted", root, function(_,killer) local name = getPlayerName(source) local namek = getPlayerName(killer) local money = math.random(200,1000) givePlayerMoney(killer, money) takePlayerMoney(source, 100) outputChatBox("You killed "..name.." and get "..money, killer, 0,255,0) outputChatBox(namek.." killed You and You lost 100$", source, 255,0,0) end) ودي أعرف المسافة الي بالكود من وين جات انا ابرمج عن طريق النوت باند ممكن تقولي كيف تكتب بطريقه صح لأنه انا اكتب مثلا function () ولما اضغط انتر مثل حقك كيف اخليه ترتب ألمسافات ؟ والأنت ايضآ كيف اخليها بالحد الي يكون فيه if او function ومعليش اذا كان الرد مو في محله
ABO-SR777777A Posted October 30, 2012 Author Posted October 30, 2012 شباب برنانج Script Editor وش يسوي وحق ايش وكيف يستخدم ؟؟؟؟؟؟؟؟؟؟؟؟ظظ ضروريري
AhmadQTR Posted October 30, 2012 Posted October 30, 2012 شباب برنانجScript Editor وش يسوي وحق ايش وكيف يستخدم ؟؟؟؟؟؟؟؟؟؟؟؟ظظ ضروريري
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