Jump to content

حل مشكله


Recommended Posts

Posted

السلام عليكم 

الحين عندي مشكله لم اجي اكتب الكلمه في اف8 حقت فتح الوحه يجي في الدي بق كذا

ERROR:System\Server.lua:140: attempt to call global "isPlayerInACL" (a nil calue)

 

السطر الي فيه المشكله

if ( isPlayerInACL ( player , 'Console') ) then 

 

Posted
27 minutes ago, -#GoDa said:

السلام عليكم 

الحين عندي مشكله لم اجي اكتب الكلمه في اف8 حقت فتح الوحه يجي في الدي بق كذا

ERROR:System\Server.lua:140: attempt to call global "isPlayerInACL" (a nil calue)

 

السطر الي فيه المشكله


if ( isPlayerInACL ( player , 'Console') ) then 

 

if  isPlayerInACL ( player , "Console")  then 

 

Posted
7 minutes ago, #CroSs said:

حسب الخطأ، الوظيفة غير معرفة

وضحله اكثر +_+

 

43 minutes ago, -#GoDa said:

السلام عليكم 

الحين عندي مشكله لم اجي اكتب الكلمه في اف8 حقت فتح الوحه يجي في الدي بق كذا

ERROR:System\Server.lua:140: attempt to call global "isPlayerInACL" (a nil calue)

 

السطر الي فيه المشكله


if ( isPlayerInACL ( player , 'Console') ) then 

 

حبيب قلبي رح الويكي

بتحصل على اليسار

useful function

اضغط عليها

ثم ابحث عن 

isPlayerInACL

اضغط عليها

انسخ السورس كود

حقها

وحطه في اول الملف حقك

Posted

مثال ف الويكي

function isPlayerInACL ( player, acl )
	local account = getPlayerAccount ( player )
	if ( isGuestAccount ( account ) ) then
		return false
	end
        return isObjectInACLGroup ( "user."..getAccountName ( account ), aclGetGroup ( acl ) )
end

 

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...