Jump to content

مساعده بلوحه


Recommended Posts

شباب السلام عليكم

انا عملت لوحه تسجيل

الان حطيت كود ذا عشان يعمل ريسباون لما تعمل تسجيل دخول

سيرفر

addEvent("CloseLogin",true) 
addEventHandler("CloseLogin",root, 
function() 
spawnPlayer(source,1606.38513, 1815.87195, 10.82031,5,0)-- (1606.38513 1815.87195 10.82031) 
setCameraTarget(source,source) 
end) 

الان انا بدي لما يسجل دخول لاول مره يجي في المكان ذا

عشان لما اشفل مود حفظ المكان ما يصير تعارض ياريت تساعدوني

Link to comment
addEvent ( "CloseLogin", true ); 
addEventHandler ( "CloseLogin", root, 
     function (   ) 
          local acc = getPlayerAccount ( source );  
          if not getAccountData ( acc, "firstSpawn" ) then 
               spawnPlayer ( source, 1606.38513, 1815.87195, 10.82031, 5, 0 ); 
               setCameraTarget ( source, source ); 
               setAccountData ( acc, "firstSpawn", "" ); 
          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...