Jump to content

طلب سهل


Recommended Posts

يعني يسير كذا
function giveKiller(killer) 
    givePlayerMoney ( killer, 1000 ) 
end 
addEventHandler ( "onPlayerWasted", getRootElement(), onJoin ) --- هنا يتغير ؟؟ 

1جزاك الله خير

بس ابي يطلع له كلام اذا قتل وعدد الفلوس

function giveKiller(killer) 
    givePlayerMoney ( killer, 1000 ) 
end 
addEventHandler ( "onPlayerWasted", getRootElement(), giveKiller ) 

Link to comment
زي الى سويته بس عدل ذي
    function giveKiller(killer) 
        givePlayerMoney ( killer, 1000 ) 
    end 
    addEventHandler ( "onPlayerWasted", getRootElement(), giveKiller )-- هنا بس الى غيرته 

بس جزاك الله خير على الرد

اسف يا اخوي هذا الكود

  function giveKiller(killer) 
        givePlayerMoney ( killer, 1000 ) 
        outputChatBox ( "You have killed a player and gained 1000!", killer ) 
    end 
    addEventHandler ( "onPlayerWasted", getRootElement(), giveKiller ) 

Link to comment

زي كذا

     function giveKiller(killer) 
            givePlayerMoney ( killer, 1000 ) 
            outputChatBox ( "You have killed a player and gained 1000!", killer ) 
        end 
        addEventHandler ( "onPlayerWasted", getRootElement(), giveKiller ) 

ولو ابي اللونه

     function giveKiller(killer) 
            givePlayerMoney ( killer, 1000 ) 
            outputChatBox ( "outputChatBox("كلام هنا",killer,0,255,0)", killer ) --- اكتب االلون الىى ابيه  
        end 
        addEventHandler ( "onPlayerWasted", getRootElement(), giveKiller ) 

زي كذا

طيب ابيه لو قتل مثل بيقل يجيله 55 ريال

سنبره 100 انا احدد ؟ كيف

Link to comment
زي كذا
     function giveKiller(killer) 
            givePlayerMoney ( killer, 1000 ) 
            outputChatBox ( "You have killed a player and gained 1000!", killer ) 
        end 
        addEventHandler ( "onPlayerWasted", getRootElement(), giveKiller ) 

ولو ابي اللونه

     function giveKiller(killer) 
            givePlayerMoney ( killer, 1000 ) 
            outputChatBox ( "outputChatBox("كلام هنا",killer,0,255,0)", killer ) --- اكتب االلون الىى ابيه  
        end 
        addEventHandler ( "onPlayerWasted", getRootElement(), giveKiller ) 

زي كذا

طيب ابيه لو قتل مثل بيقل يجيله 55 ريال

سنبره 100 انا احدد ؟ كيف

الطلب الاول : https://wiki.multitheftauto.com/wiki/OutputChatBox

اما الطلب الثاني ماعرفتله اسمحلي

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

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
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 

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 

هذا يجيب رقم عشوائي بين

200

و

1000

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

getRootElement() ناقص فاصله في أول سطر بعد

ناقص قوس في سطر 7 بعد الأند

هو عدد الطلقات onPlayerWasted أول بارتمر في أفنت

https://wiki.multitheftauto.com/wiki/OnPlayerWasted

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

getRootElement() ناقص فاصله في أول سطر بعد

ناقص قوس في سطر 7 بعد الأند

هو عدد الطلقات onPlayerWasted أول بارتمر في أفنت

https://wiki.multitheftauto.com/wiki/OnPlayerWasted

كنت مستعجل و الكيبورد عندي لازم تظغط بقوه

:roll:

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

صح ض1ض1ض1ض1

يب

عشان تشوف الاخطاءMTASA Script Editorاستعمل

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...