momar5600 Posted September 19, 2016 Share Posted September 19, 2016 سلام عليكم ورحمة الله وبركاتة بدي اخلي رسباون في عالم وهمي 1 كيف setTimer(spawnPlayer,2000,1,source,1565.5054931641,3326.3386230469,223.38436889648,90,skin) Link to comment
</Mr.Tn6eL> Posted September 19, 2016 Share Posted September 19, 2016 setTimer(spawnPlayer,2000,1,source,1565.5054931641,3326.3386230469,223.38436889648,90,skin,0,dimension) Link to comment
momar5600 Posted September 19, 2016 Author Share Posted September 19, 2016 (edited) اه هو الخطا addEvent("onSpawnPlayer",true) addEventHandler("onSpawnPlayer",root, function () local skin = getElementData(source,"skin") fadeCamera(source,false) setTimer(fadeCamera,1400,1,source,true,3) setTimer(spawnPlayer,2000,1,source,1565.5054931641,3326.3386230469,223.38436889648,90,skin,0,1) setCameraTarget(source,source) showChat(source,true) end) --------------------------------------------- addEventHandler( 'onPlayerWasted', root, function() setElementData(source, 'Wasted?', true) local xSpawn, ySpawn, zSpawn = unpack(getElementData(source, 'POSITION')) local PlayerSkin = getElementData(source, 'SKIN') local randomX = math.random(1, 10) - math.random(1, 10) local randomY = math.random(1, 10) - math.random(1, 10) spawnPlayer(source, xSpawn + randomX, ySpawn + randomY, zSpawn) setElementModel(source, PlayerSkin) setElementData(source, 'Wasted?', false) else local skin = getElementData(source,"skin") fadeCamera(source,false) setTimer(fadeCamera,2000,1,source,true) setTimer(spawnPlayer,2000,1,source,1565.5054931641,3326.3386230469,223.38436889648,90,skin,0,1) end ) Edited September 19, 2016 by momar5600 Link to comment
</Mr.Tn6eL> Posted September 19, 2016 Share Posted September 19, 2016 (edited) الخطأ هنا else local skin = getElementData(source,"skin") fadeCamera(source,false) setTimer(fadeCamera,2000,1,source,true) setTimer(spawnPlayer,2000,1,source,1565.5054931641,3326.3386230469,223.38436889648,90,skin,0,1) Edited September 19, 2016 by </Mr.Tn6eL> Link to comment
momar5600 Posted September 19, 2016 Author Share Posted September 19, 2016 طيب بردو خطا addEventHandler( 'onPlayerWasted', root, function() setElementData(source, 'Wasted?', true) local xSpawn, ySpawn, zSpawn = unpack(getElementData(source, 'POSITION')) local PlayerSkin = getElementData(source, 'SKIN') local randomX = math.random(1, 10) - math.random(1, 10) local randomY = math.random(1, 10) - math.random(1, 10) spawnPlayer(source, xSpawn + randomX, ySpawn + randomY, zSpawn) setElementModel(source, PlayerSkin) setElementData(source, 'Wasted?', false) local skin = getElementData(source,"skin") fadeCamera(source,false) setTimer(fadeCamera,2000,1,source,true) setTimer(spawnPlayer,2000,1,source,1565.5054931641,3326.3386230469,223.38436889648,90,skin,0,1) end ) Link to comment
momar5600 Posted September 19, 2016 Author Share Posted September 19, 2016 (edited) شباب الحين بدي اخلي رسباون حرب عصابات بعالم وهمي 3 كيف خلاص عرفت الحل اتمنا تساعدوني addEvent( 'SpawnPlayerInSelectedSettinges', true ) addEventHandler( 'SpawnPlayerInSelectedSettinges', root, function() local xSpawn, ySpawn, zSpawn = unpack(getElementData(source, 'POSITION')) local PlayerSkin = getElementData(source, 'SKIN') local randomX = math.random(1, 10) - math.random(1, 10) local randomY = math.random(1, 10) - math.random(1, 10) spawnPlayer(source, xSpawn + randomX, ySpawn + randomY, zSpawn) setElementModel(source, PlayerSkin) fadeCamera(source, true) showChat(source,true) end ) addEventHandler( 'onPlayerWasted', root, function() setElementData(source, 'Wasted?', true) local xSpawn, ySpawn, zSpawn = unpack(getElementData(source, 'POSITION')) local PlayerSkin = getElementData(source, 'SKIN') local randomX = math.random(1, 10) - math.random(1, 10) local randomY = math.random(1, 10) - math.random(1, 10) spawnPlayer(source, xSpawn + randomX, ySpawn + randomY, zSpawn) setElementModel(source, PlayerSkin) setElementData(source, 'Wasted?', false) end ) addEvent( 'setPositionData', true ) addEventHandler( 'setPositionData', root, function(PlaceName, xSpawn, ySpawn, zSpawn) setElementData(source, 'POSITION', false) setElementData(source, 'POSITION', {xSpawn, ySpawn, zSpawn}) local PlaceName = string.gsub(PlaceName, '[A-Z-a-z]', '') outputChatBox( '* Server : #FFFFFF ' .. PlaceName .. ' : المكان الذي قمت بأختياره هو .! ', source, 0, 255, 0, true ) end ) addEvent( 'setSkinData', true ) addEventHandler( 'setSkinData', root, function(SkinID) setElementData(source, 'SKIN', false) setElementData(source, 'SKIN', SkinID) outputChatBox( '* Server : #FFFFFF ' .. SkinID .. ' : الشخصية الخاصة بك هي .! ', source, 0, 255, 0, true ) end ) addEvent("onSpawnPlayer",true) addEventHandler("onSpawnPlayer",root, function () local skin = getElementData(source,"skin") fadeCamera(source,false) setTimer(fadeCamera,1400,1,source,true,3) setTimer(spawnPlayer,2000,1,source,1565.5054931641,3326.3386230469,223.38436889648,90,skin,0,1) setCameraTarget(source,source) showChat(source,true) end) addEventHandler("onPlayerWasted",root,function() if ( getElementData(source,"DownloadFinish") ) then local skin = getElementData(source,"skin") fadeCamera(source,false) setTimer(fadeCamera,2000,1,source,true) setTimer(spawnPlayer,2000,1,source,1565.5054931641,3326.3386230469,223.38436889648,90,skin,0,1) end end) addEventHandler("onPlayerJoin",root, function () fadeCamera(source,true,5) spawnPlayer(source,1278.7707519531,1362.7667236328,10.8203125,270,46,0,2,TeamDownload) setCameraTarget(source,source) setElementData(source,"DownloadFinish",false) end ) addEvent("NoDownload",true) addEventHandler("NoDownload",root,function() setElementDimension(source,0) fadeCamera(source,false) end) addEventHandler("onResourceStart",resourceRoot, function () for i,player in ipairs(getElementsByType("player")) do local r,g,b = getPlayerNametagColor(player) blip[player] = createBlipAttachedTo(player,0,2,r,g,b) end end ) addEventHandler("onPlayerJoin",root, function () local r,g,b = getPlayerNametagColor(source) blip[source] = createBlipAttachedTo(source,0,2,r,g,b) end ) addEventHandler("onPlayerSpawn",root, function () local r,g,b = getPlayerNametagColor(source) setBlipColor(blip[source],r,g,b,255) end ) addEventHandler("onPlayerQuit",root, function () if blip[source] and isElement(blip[source]) then destroyElement(blip[source]) blip[source] = nil end end ) بدي مساعدة كل ما اموت تفضل شاشة تلف اه هو الحل ده قيم مود زومبي addEvent("onSpawnPlayer",true) addEventHandler("onSpawnPlayer",root, function () local skin = getElementData(source,"skin") fadeCamera(source,false) setTimer(fadeCamera,1400,1,source,true,3) setTimer(spawnPlayer,2000,1,source,1565.5054931641,3326.3386230469,223.38436889648,90,skin,0,1) setCameraTarget(source,source) showChat(source,true) end) addEventHandler("onPlayerWasted",root,function() if ( getElementData(source,"DownloadFinish") ) then local skin = getElementData(source,"skin") fadeCamera(source,false) setTimer(fadeCamera,2000,1,source,true) setTimer(spawnPlayer,2000,1,source,1565.5054931641,3326.3386230469,223.38436889648,90,skin,0,1) end end) مشكلة بقيم مود زومبي لما اموت مايرجعني للمكان تفضل شاشة تلف ويقول لي مشكله في ده دي بق بيقو مشكلة هنا addEventHandler( 'onPlayerWasted', root, function() setElementData(source, 'Wasted?', true) local xSpawn, ySpawn, zSpawn = unpack(getElementData(source, 'POSITION')) local PlayerSkin = getElementData(source, 'SKIN') local randomX = math.random(1, 10) - math.random(1, 10) local randomY = math.random(1, 10) - math.random(1, 10) spawnPlayer(source, xSpawn + randomX, ySpawn + randomY, zSpawn) setElementModel(source, PlayerSkin) setElementData(source, 'Wasted?', false) end ) Edited September 19, 2016 by momar5600 Link to comment
momar5600 Posted September 20, 2016 Author Share Posted September 20, 2016 الوووو ردددد Link to comment
momar5600 Posted September 20, 2016 Author Share Posted September 20, 2016 شباب ليه ماحد يرد الووووووووووووووووووووووووووو Link to comment
!#NssoR_) Posted September 20, 2016 Share Posted September 20, 2016 Quote .الرجاء تجنب المشاركات المزدوجة Link to comment
momar5600 Posted September 20, 2016 Author Share Posted September 20, 2016 لا اله الله الا الله يعني انا بدي حد يساعدني وفتكرتك بستساعدني بالقيك تقول لي Quote .الرجاء تجنب المشاركات المزدوجة Like this 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