Jump to content

طلب سهل


Recommended Posts

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
ممكن طلب اخر الى يموت تنسحب منه فلوسه

تنسحب منه 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
    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
    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) 

:shock: ودي أعرف المسافة الي بالكود من وين جات

Link to comment
    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) 

:shock: ودي أعرف المسافة الي بالكود من وين جات

انا ناسخه منك

:roll:

Link to comment
    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
    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) 

:shock: ودي أعرف المسافة الي بالكود من وين جات

انا ابرمج عن طريق النوت باند ممكن تقولي كيف تكتب بطريقه صح لأنه انا اكتب مثلا

function () 

ولما اضغط انتر مثل حقك كيف اخليه ترتب ألمسافات ؟

والأنت ايضآ كيف اخليها بالحد الي يكون فيه

if

او

function

ومعليش اذا كان الرد مو في محله

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...