Sign in to follow this  
Tulip

طلب كود

Recommended Posts

"Boss" السلام عليكم , ابي مبرمج محترف - يضبط  كود على الـ

"Boss"انا عندي منطقه في الماب ، يرسبن فيها الـ

ابي إذا كان فيه لاعبين مثلاً .

واللاعب الثاني مايشوفه "Boss" اللاعب الاول يظهر له

والعكس

( خاص فيه والناس الثانين مايشوفونه "Boss"إذا رسبن يكون  لكل شخص "Boss"اختصار الكلام ( الـ 

           safecol = createColCuboid ( -63.11791229248,1454.3334960938, 17.640625, 255, 255, 255 )
       local hillRadar = createRadarArea ( -63.11791229248,1454.3334960938, 200, 200, 181, 0, 0, 255 )
setElementData (hillRadar, "zombieProof", true)


            function Nemesis ( )  

                   nemesi = exports [ "slothBot" ]:spawnBot ( 6.9355959892273,1526.8051757813,14.00937461853, 90,  math.random ( 300, 303 ), 0, 0, Nemesis, 38, "hunting", true )
                    setElementDimension (nemesi, 9 )
                  setElementModel ( nemesi, 107 )
                  nemesiscorvo = (createBlipAttachedTo ( nemesi, 0 ))   
                  exports.extra_health:setElementExtraHealth(nemesi, 15000)

             end
            addEventHandler("onResourceStart", resourceRoot, Nemesis)  
            
Timer = {}
function money (theKiller)
if (source == nemesi) then
if theKiller == nil or theKiller == false then
exports["TopBarChat"]:sendClientMessage ( "Nemesis has defeated by unknown player~zombies.", root, 255, 0, 0 )
exports["TopBarChat"]:sendClientMessage ( "Nemesis will return again soon!", root, 255, 0, 0 )
Timer[source] = setTimer(Nemesis, 300000, 1)
destroyElement (nemesiscorvo)
else
killerName = getPlayerName(theKiller)
weapon = getPedWeapon(theKiller)
wr, wg, wb = getPlayerNametagColor(theKiller)
exports.killmessages:outputMessage ( {killerName,{"padding",width=3},{"icon",id=weapon or 0},{"padding",width=3},{"color",r=255,g=255,b=0},"The Nemesis"},getRootElement(),wr,wg,wb )
givePlayerMoney(theKiller,300000)
exports["TopBarChat"]:sendClientMessage ( getPlayerName ( theKiller ) .. " Has killed the nemesis and won 300000$ !", root, 0, 255, 0 )
exports["TopBarChat"]:sendClientMessage ( "Nemesis will return again soon!", root, 255, 0, 0 )
exports.levelsys:givePlayerExp ( theKiller, 3000 ) 
destroyElement (nemesiscorvo)
Timer[source] = setTimer(Nemesis, 300000, 1)
end
end
end
addEvent("onBotWasted", true)
addEventHandler("onBotWasted", getRootElement(), money)

function Nemesisreturn()
exports["TopBarChat"]:sendClientMessage ("WARNING : Nemesis has been appeared in hell zone, who will defeat him ?!", root, 255, 0, 0 )
end
addEvent("onBotSpawned", true)
addEventHandler("onBotSpawned", getRootElement(), Nemesisreturn)

Share this post


Link to post
13 hours ago, Tulip said:

"Boss" السلام عليكم , ابي مبرمج محترف - يضبط  كود على الـ

"Boss"انا عندي منطقه في الماب ، يرسبن فيها الـ

ابي إذا كان فيه لاعبين مثلاً .

واللاعب الثاني مايشوفه "Boss" اللاعب الاول يظهر له

والعكس

( خاص فيه والناس الثانين مايشوفونه "Boss"إذا رسبن يكون  لكل شخص "Boss"اختصار الكلام ( الـ 

           safecol = createColCuboid ( -63.11791229248,1454.3334960938, 17.640625, 255, 255, 255 )
       local hillRadar = createRadarArea ( -63.11791229248,1454.3334960938, 200, 200, 181, 0, 0, 255 )
setElementData (hillRadar, "zombieProof", true)


            function Nemesis ( )  

                   nemesi = exports [ "slothBot" ]:spawnBot ( 6.9355959892273,1526.8051757813,14.00937461853, 90,  math.random ( 300, 303 ), 0, 0, Nemesis, 38, "hunting", true )
                    setElementDimension (nemesi, 9 )
                  setElementModel ( nemesi, 107 )
                  nemesiscorvo = (createBlipAttachedTo ( nemesi, 0 ))   
                  exports.extra_health:setElementExtraHealth(nemesi, 15000)

             end
            addEventHandler("onResourceStart", resourceRoot, Nemesis)  
            
Timer = {}
function money (theKiller)
if (source == nemesi) then
if theKiller == nil or theKiller == false then
exports["TopBarChat"]:sendClientMessage ( "Nemesis has defeated by unknown player~zombies.", root, 255, 0, 0 )
exports["TopBarChat"]:sendClientMessage ( "Nemesis will return again soon!", root, 255, 0, 0 )
Timer[source] = setTimer(Nemesis, 300000, 1)
destroyElement (nemesiscorvo)
else
killerName = getPlayerName(theKiller)
weapon = getPedWeapon(theKiller)
wr, wg, wb = getPlayerNametagColor(theKiller)
exports.killmessages:outputMessage ( {killerName,{"padding",width=3},{"icon",id=weapon or 0},{"padding",width=3},{"color",r=255,g=255,b=0},"The Nemesis"},getRootElement(),wr,wg,wb )
givePlayerMoney(theKiller,300000)
exports["TopBarChat"]:sendClientMessage ( getPlayerName ( theKiller ) .. " Has killed the nemesis and won 300000$ !", root, 0, 255, 0 )
exports["TopBarChat"]:sendClientMessage ( "Nemesis will return again soon!", root, 255, 0, 0 )
exports.levelsys:givePlayerExp ( theKiller, 3000 ) 
destroyElement (nemesiscorvo)
Timer[source] = setTimer(Nemesis, 300000, 1)
end
end
end
addEvent("onBotWasted", true)
addEventHandler("onBotWasted", getRootElement(), money)

function Nemesisreturn()
exports["TopBarChat"]:sendClientMessage ("WARNING : Nemesis has been appeared in hell zone, who will defeat him ?!", root, 255, 0, 0 )
end
addEvent("onBotSpawned", true)
addEventHandler("onBotSpawned", getRootElement(), Nemesisreturn)

اولا استخدم <>


ثانيا يلزمك تبدل كل هي الاكواد وتحطها بالكلنت وتعدل عليها شوي 
حاول ولو ما عرفت نساعدك :) 

Share this post


Link to post

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.