Jump to content

طلب كود على الفل


Recommended Posts

شوف استخدم

السكربت ذا ,

https://community.multitheftauto.com/in ... ls&id=1253

+

اضف الكود ذا

    addEvent ( "onZombieWasted", true ) 
    addEventHandler ( "onZombieWasted", root, 
        function ( theKiller ) 
            exports.exp_system:addPlayerEXP ( theKiller, math.random(1, 10)) 
        end 
) 

واذا تبي ليفل متطور , اانا ابيع لك حقي بمقابل ,~

Link to comment

function onKill(ammo,killer)

if ( killer ) and ( killer ~= source ) then

local hisLevel = getElementData(killer,"Level")

local hisExp = getElementData(killer,"Exp")

local hisNext = getElementData(killer,"Next")

if hisLevel and hisExp and hisNext then

-----------------

plusExp(killer)

-----------------

if tonumber(hisExp) > tonumber(math.floor(hisNext-1)) then

plusLevel(killer)

upgrade(killer)

end

end

end

end

addEventHandler("onPlayerWasted",root,onKill)

Link to comment
function onKill(attacker) 
if ( attacker ) and ( attacker == source ) then  
    local hisLevel = getElementData(killer,"Level") 
    local hisExp = getElementData(killer,"Exp") 
    local hisNext = getElementData(killer,"Next") 
    if hisLevel and hisExp and hisNext then 
        ----------------- 
        plusExp(killer) 
        ----------------- 
        if tonumber(hisExp) > tonumber(math.floor(hisNext-1)) then 
            plusLevel(killer) 
            upgrade(killer) 
        end 
    end 
end 
end  
addEventHandler("onZombieWasted",root,onKill) 

https://wiki.multitheftauto.com/wiki/Slothman/Zombies

مدري البيج ذي صحيحة ام كاذبة

Link to comment
function onKill(attacker)
if ( attacker ) and ( attacker == source ) then
    local hisLevel = getElementData(killer,"Level")
    local hisExp = getElementData(killer,"Exp")
    local hisNext = getElementData(killer,"Next")
    if hisLevel and hisExp and hisNext then
        -----------------
        plusExp(killer)
        -----------------
        if tonumber(hisExp) > tonumber(math.floor(hisNext-1)) then
            plusLevel(killer)
            upgrade(killer)
        end
    end
end
end
addEventHandler("onZombieWasted",root,onKill)

https://wiki.multitheftauto.com/wiki/Slothman/Zombies

مدري البيج ذي صحيحة ام كاذبة

هاذي نسختهاا من ملف سيرفر مود اللفل حق العقرب

Link to comment
function onKill(ammo,killer)

if ( killer ) and ( killer ~= source ) then

local hisLevel = getElementData(killer,"Level")

local hisExp = getElementData(killer,"Exp")

local hisNext = getElementData(killer,"Next")

if hisLevel and hisExp and hisNext then

-----------------

plusExp(killer)

-----------------

if tonumber(hisExp) > tonumber(math.floor(hisNext-1)) then

plusLevel(killer)

upgrade(killer)

end

end

end

end

addEventHandler("onPlayerWasted",root,onKill)

onZombieWasted بـ onPlayerWasted استبدل

وذي مدري يحتاج ولا لا

إذا ما اشتغل حطه و جرب

addEvent("onZombieWasted", true) 

Link to comment

جربتهاا بالشكل ذا

addEventHandler("onZombieWasted",root,onKill)

مانفع level مايزيد exp مايزيد

-----------------

وجربتهاا بالشكل ذاا

addEvent("onZombieWasted", true)

addEventHandler("onZombieWasted",root,onKill)

نفس الشي مايزيد

Link to comment
function onKill(attacker)
if ( attacker ) and ( attacker == source ) then
    local hisLevel = getElementData(killer,"Level")
    local hisExp = getElementData(killer,"Exp")
    local hisNext = getElementData(killer,"Next")
    if hisLevel and hisExp and hisNext then
        -----------------
        plusExp(killer)
        -----------------
        if tonumber(hisExp) > tonumber(math.floor(hisNext-1)) then
            plusLevel(killer)
            upgrade(killer)
        end
    end
end
end
addEventHandler("onZombieWasted",root,onKill)

https://wiki.multitheftauto.com/wiki/Slothman/Zombies

مدري البيج ذي صحيحة ام كاذبة

هاذي نسختهاا من ملف سيرفر مود اللفل حق العقرب

مع انه افادك وش الي نسخته ؟

شوف الافنت

:|

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