aL.Kfo Posted August 6, 2015 Share Posted August 6, 2015 ككيفككم؟ الوقت تعبني مو راضي لا مات ينقله بالوقت اللي انا حددتة .. احد يصلحة + وعشان افهم كيف سواه ولو شرح بسيط عنه الوقت اكون ممنون : ) 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
!#NssoR_) Posted August 6, 2015 Share Posted August 6, 2015 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 ) 1 Link to comment
aL.Kfo Posted August 6, 2015 Author Share Posted August 6, 2015 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
!#NssoR_) Posted August 6, 2015 Share Posted August 6, 2015 موعلي كيفه مايشتغل غصبن عنه 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 ) 1 Link to comment
aL.Kfo Posted August 6, 2015 Author Share Posted August 6, 2015 موعلي كيفه مايشتغل غصبن عنه 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now