Jump to content

x[ استفسار]x getAccountData مشكلة في


Recommended Posts

السلام عليكم لو سمحتم انا عندي مشكلة بسيطة

عندي جدول تمام

setAccountData وحفظته بأمر

لما اجي استدعي القيم الخاصة ب الجدول مشاكل ممكن حل

مثال

---سيرفر
addEvent("security",true)
addEventHandler("security",root,
	function ( qution, answer )
		local fx, fy, fz = getElementPosition( source )
		setAccountData ( getPlayerAccount ( source ) , 'security' , fx, fy, fz ) --- هنا امر وضع الدااتا
	end
)

addCommandHandler("hey",
	function ( source )
		neew = getAccountData ( getPlayerAccount ( source ) , 'security' ) -- وهنا امر جلبها
		spawnPlayer( source, neew[1], neew[2], neew[3],0,46,0)
	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...