Jump to content

ممكن تصميم بوابتين؟


Recommended Posts

Editor ^ لتصميم المابات

^

^-^ لتثبيت البداية * :)

addEventHandler("onResourceStart", resourceRoot, 
    function() 
        resetMapInfo() 
        for i,player in ipairs(getElementsByType("player")) do 
            spawn(player) 
        end 
    end 
)  
  
function spawn(player) 
    if not isElement(player) then return end 
    repeat until spawnPlayer ( player, -1867.38660+math.random(1,5), -4001.14917+math.random(5,9), 22.07813, 180, 46, 0, 0) 
    fadeCamera(player, true) 
    setCameraTarget(player, player) 
    showChat(player, true) 
end 
  
addEventHandler("onPlayerJoin", root, 
    function() 
        spawn(source) 
    end 
) 
  
addEventHandler("onPlayerWasted", root, 
    function() 
        setTimer(spawn, 1800, 1, source) 
    end 
) 

-client

( player, -1867.38660+math.random(1,5), -4001.14917+math.random(5,9), 22.07813, 180, 46, 0, 0) 

X,Y,Z ^ - غير

Edited by Guest
Link to comment
معطيني اكواد شايفني افهم فيهم بدي حد يسويلي بوابتين+يثبتلي الشخصية والبداية الي يبي يقول انا عشان اعطية اي بي سيرفر يدخلة

اذا بدك بوابتين يتحركو

حمل مود OMG

وشوف شرحه

مود خرافي يسويلك اشياء تتحرك

وتقدر تسوي فيه اصنصيرات

Link to comment
Editor ^ لتصميم المابات

^

^-^ لتثبيت البداية * :)

addEventHandler("onResourceStart", resourceRoot, 
    function() 
        resetMapInfo() 
        for i,player in ipairs(getElementsByType("player")) do 
            spawn(player) 
        end 
    end 
)  
  
function spawn(player) 
    if not isElement(player) then return end 
    repeat until spawnPlayer ( player, -1867.38660+math.random(1,5), -4001.14917+math.random(5,9), 22.07813, 180, 46, 0, 0) 
    fadeCamera(player, true) 
    setCameraTarget(player, player) 
    showChat(player, true) 
end 
  
addEventHandler("onPlayerJoin", root, 
    function() 
        spawn(source) 
    end 
) 
  
addEventHandler("onPlayerWasted", root, 
    function() 
        setTimer(spawn, 1800, 1, source) 
    end 
) 

-client

( player, -1867.38660+math.random(1,5), -4001.14917+math.random(5,9), 22.07813, 180, 46, 0, 0) 

X,Y,Z ^ - غير

بالله سؤال واحد بس , تعرف شي من هالاكواد ؟ :lol:

Link to comment
Editor ^ لتصميم المابات

^

^-^ لتثبيت البداية * :)

addEventHandler("onResourceStart", resourceRoot, 
    function() 
        resetMapInfo() 
        for i,player in ipairs(getElementsByType("player")) do 
            spawn(player) 
        end 
    end 
)  
  
function spawn(player) 
    if not isElement(player) then return end 
    repeat until spawnPlayer ( player, -1867.38660+math.random(1,5), -4001.14917+math.random(5,9), 22.07813, 180, 46, 0, 0) 
    fadeCamera(player, true) 
    setCameraTarget(player, player) 
    showChat(player, true) 
end 
  
addEventHandler("onPlayerJoin", root, 
    function() 
        spawn(source) 
    end 
) 
  
addEventHandler("onPlayerWasted", root, 
    function() 
        setTimer(spawn, 1800, 1, source) 
    end 
) 

-client

( player, -1867.38660+math.random(1,5), -4001.14917+math.random(5,9), 22.07813, 180, 46, 0, 0) 

X,Y,Z ^ - غير

بالله سؤال واحد بس , تعرف شي من هالاكواد ؟ :lol:

يب

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