Doffy Posted May 30, 2017 Share Posted May 30, 2017 ابي الواحد اول ما يدخل السيرفر يرسبن بس موب نافع كل الاكواد شغالة بس اول ما اشغل المود واول ما اموت لاكن اول ما ادخل السيرفر ما يرسبن في المكان الي انا ابيه الاكواد --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
^iiEcoo'x_) Posted May 30, 2017 Share Posted May 30, 2017 (edited) addEventHandler ( 'onPlayerJoin' , root , function ( ) Spawn ( source ) end ) Edited May 30, 2017 by #_iMr.[E]coo 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