Jump to content

x[مشكلة]x في السباون


Recommended Posts

ابي الواحد اول ما يدخل السيرفر يرسبن بس موب نافع كل الاكواد شغالة بس اول ما اشغل المود واول ما اموت لاكن اول ما ادخل السيرفر ما يرسبن في المكان الي انا ابيه

الاكواد
 

--Server
function Spawn(plr)
spawnPlayer (plr,214.06839,1866.00024,13.14063)
setElementRotation (plr,0,0,-90)
setCameraTarget(plr,plr)
setElementDimension(plr,0)
setElementInterior(plr,0)
setElementModel (plr,1)
end

addEventHandler ("onPlayerJoin",resourceRoot,
function()
for i,k in ipairs(getElementsByType("player")) do
Spawn(k)
end
end)


addEventHandler ("onPlayerWasted",root,
function ()
setTimer(Spawn,3000,1,source)
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...