TAPL Posted October 29, 2012 Share Posted October 29, 2012 غير ذا function(killer) إلى function(_,killer) Link to comment
ABO-SR777777A Posted October 29, 2012 Author Share 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) كذا Link to comment
ABO-SR777777A Posted October 29, 2012 Author Share Posted October 29, 2012 جربت الكود في برنامج TASA Script Editor ماحاني ولا خطأ جزاكم الله خير وكل من ساعدني Link to comment
ABO-SR777777A Posted October 29, 2012 Author Share Posted October 29, 2012 ممكن طلب اخر الى يموت تنسحب منه فلوسه تنسحب منه 100 ريال مثلا كيف ممكن الاي فنت فقط لااحد يسويلي الكود Link to comment
./BlackBird# Posted October 29, 2012 Share Posted October 29, 2012 شوف هذا الايفينت onPlayerWasted لما يموت الاعب Link to comment
TAPL Posted October 29, 2012 Share 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) Link to comment
ABO-SR777777A Posted October 29, 2012 Author Share Posted October 29, 2012 ثانكس تابل بس لو انسحبت يطلع له كلام تم سحب منك Link to comment
./BlackBird# Posted October 29, 2012 Share 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) Link to comment
TAPL Posted October 29, 2012 Share 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) ودي أعرف المسافة الي بالكود من وين جات Link to comment
./BlackBird# Posted October 29, 2012 Share 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) ودي أعرف المسافة الي بالكود من وين جات انا ناسخه منك Link to comment
TAPL Posted October 29, 2012 Share 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) Link to comment
./BlackBird# Posted October 29, 2012 Share Posted October 29, 2012 انا ظغطت select all و نسخته مدري من وين جت الفراغات Link to comment
Joker_Mta Posted October 29, 2012 Share 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 ومعليش اذا كان الرد مو في محله Link to comment
|Mr|-Talal07-| Posted October 30, 2012 Share Posted October 30, 2012 اضغط زر تاب tab و تجيك المسافه Link to comment
ABO-SR777777A Posted October 30, 2012 Author Share Posted October 30, 2012 شباب برنانج Script Editor وش يسوي وحق ايش وكيف يستخدم ؟؟؟؟؟؟؟؟؟؟؟؟ظظ ضروريري Link to comment
AhmadQTR Posted October 30, 2012 Share Posted October 30, 2012 شباب برنانجScript Editor وش يسوي وحق ايش وكيف يستخدم ؟؟؟؟؟؟؟؟؟؟؟؟ظظ ضروريري 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