Jump to content

تعديل التايمر


Recommended Posts

ككيفككم؟

الوقت تعبني مو راضي لا مات ينقله بالوقت اللي انا حددتة .. احد يصلحة

+ وعشان افهم كيف سواه ولو شرح بسيط عنه الوقت اكون ممنون : )

policeSpawn = { 
    [1] = {1568.5632324219, -1691.4493408203, 5.890625, 180}, 
    [2] = {1580.01660, -1634.68750, 13.56188, 90.0}, 
    [3] = {1552.56165, -1675.75244, 16.19531, 90.0} 
} 
  
addEventHandler('onPlayerWasted',root, 
function() 
    local team = getPlayerTeam(source) 
        if team and getTeamName(team) == 'Police' then 
            local x,y,z,rot = unpack(policeSpawn[math.random(#policeSpawn)])   
            function setTimer () 
setTimer ( spawnPlayer (source,x,y,z,rot),700, 1 ) 
end 
            setCameraTarget (source, source) 
        end 
    end 
) 

Link to comment
    policeSpawn = { 
        [1] = {1568.5632324219, -1691.4493408203, 5.890625, 180}, 
        [2] = {1580.01660, -1634.68750, 13.56188, 90.0}, 
        [3] = {1552.56165, -1675.75244, 16.19531, 90.0} 
    } 
      
    addEventHandler('onPlayerWasted',root, 
    function() 
        local team = getPlayerTeam(source) 
            if team and getTeamName(team) == 'Police' then 
                local x,y,z,rot = unpack(policeSpawn[math.random(#policeSpawn)])   
                setTimer(function () spawnPlayer (source,x,y,z,rot) end,700, 1 ) 
                setCameraTarget (source, source) 
            end 
        end 
    ) 

  • Like 1
Link to comment
    policeSpawn = { 
        [1] = {1568.5632324219, -1691.4493408203, 5.890625, 180}, 
        [2] = {1580.01660, -1634.68750, 13.56188, 90.0}, 
        [3] = {1552.56165, -1675.75244, 16.19531, 90.0} 
    } 
      
    addEventHandler('onPlayerWasted',root, 
    function() 
        local team = getPlayerTeam(source) 
            if team and getTeamName(team) == 'Police' then 
                local x,y,z,rot = unpack(policeSpawn[math.random(#policeSpawn)])   
                setTimer(function () spawnPlayer (source,x,y,z,rot) end,700, 1 ) 
                setCameraTarget (source, source) 
            end 
        end 
    ) 

يعطيكك العافيةة ي بططل .. طبعا ماجربتةةة بس اكيد شغال

روح ي شيخ ي لعلك تعرس ذذ

Link to comment

:lol::lol::lol::oops:

موعلي كيفه مايشتغل غصبن عنه

  policeSpawn = { 
        [1] = {1568.5632324219, -1691.4493408203, 5.890625, 180}, 
        [2] = {1580.01660, -1634.68750, 13.56188, 90.0}, 
        [3] = {1552.56165, -1675.75244, 16.19531, 90.0} 
    } 
      
    addEventHandler('onPlayerWasted',root, 
    function() 
        local team = getPlayerTeam(source) 
            if team and getTeamName(team) == 'Police' then 
                local x,y,z,rot = unpack(policeSpawn[math.random(#policeSpawn)])   
                setTimer(function (x,y,z,rot,source ) spawnPlayer (source,x,y,z,rot) end,1900, 1,x,y,z,rot,source ) 
                setCameraTarget (source, source) 
            end 
        end 
    ) 

  • Like 1
Link to comment

:lol::lol::lol::oops:

موعلي كيفه مايشتغل غصبن عنه

  policeSpawn = { 
        [1] = {1568.5632324219, -1691.4493408203, 5.890625, 180}, 
        [2] = {1580.01660, -1634.68750, 13.56188, 90.0}, 
        [3] = {1552.56165, -1675.75244, 16.19531, 90.0} 
    } 
      
    addEventHandler('onPlayerWasted',root, 
    function() 
        local team = getPlayerTeam(source) 
            if team and getTeamName(team) == 'Police' then 
                local x,y,z,rot = unpack(policeSpawn[math.random(#policeSpawn)])   
                setTimer(function (x,y,z,rot,source ) spawnPlayer (source,x,y,z,rot) end,1900, 1,x,y,z,rot,source ) 
                setCameraTarget (source, source) 
            end 
        end 
    ) 

انشهد ماهو يكيفةة .. عداككك العيب زي العسل شغال

اشكرك ..

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