Jump to content

طلب اكواد


Recommended Posts

1 hour ago, MR.StoRm said:

-- #Server
isObjectInACLGroup
triggerClientEvent
-- #Client
addEvent
addEventHandler
guiSetVisible -- true

 

طيب انا اسوي الزر كذا يطلع لي اخطاء

--سرفر
bindKey( ']', 'down',
	function ( player )
	if ( isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(player)),aclGetGroup("Console")) ) then
			triggerClientEvent(player,"jailShow",player)
	end
end
)

وش الخطاْ

Link to comment
10 minutes ago, MARIY said:

طيب انا اسوي الزر كذا يطلع لي اخطاء


--سرفر
bindKey( ']', 'down',
	function ( player )
	if ( isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(player)),aclGetGroup("Console")) ) then
			triggerClientEvent(player,"jailShow",player)
	end
end
)

وش الخطاْ

debugscript 3 ?

Link to comment
On 7/14/2017 at 20:58, #,+( _xiRoc[K]; > said:

في طريقة حلوة حط حدث لما يسجل الاعب و يدخل السيرفر تحط هذي الفنكشنات

 


isGuestAccount
getPlayerAccount
getAccountName
isObjectInACLGroup
aclGetGroup
setElementData

 

وفي الكلنت تتاكد انه عنده الداتا وتفتح اللوحة

 

Link to comment
12 minutes ago, iMr.WiFi..! said:

--سرفر
bindKey( player, ']', 'down', -- argument 1 missing
	function ( player )
	if ( isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(player)),aclGetGroup("Console")) ) then
			triggerClientEvent(player,"jailShow",player)
	end
end
)

 

player غير معرفة

  • Like 1
Link to comment
2 hours ago, #BrosS said:

عاا انا انقذك منه لأن اذا جربه وما اشتغل يجي ليك ويصير الموضوع 3 صفحات صدقني

هههههههههه

لا ياعم متخفش

بس الكود مشتغلش

ناقص ايه وانا هحاول اعمله 

 

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