Jump to content

ياالله


Recommended Posts

سلام عليكم

هذا الكود اعتقد صحيح

يقول مشكله في 

local accName = getAccountName( getPlayerAccount (player) )

 

الكود

addEvent("enterpolice", true)
addEventHandler("enterpolice", root,
	function(player)
	 local accName = getAccountName ( getPlayerAccount ( player ) )
		if isObjectInACLGroup("user."..accName, aclGetGroup("Console") ) then
		    setElementInterior( source, 3, 238.77066,142.54713,1003.02344 )
		end
	end
)

+

كيف اخلي ذا ماركر مخفي

createMarker( 2497.71240,-1666.79272,13.34375, "cylinder", 1, 0, 0, 0 )

 

Edited by A7MEDENO
Link to comment
1 hour ago, #_iMr.[E]coo said:

هات الترايقر من كلاينت +


createMarker ( x , y , z , 'type' , size , red , green , blue , alpha , visible )

 

addEvent("enterpolice", true)
addEventHandler("enterpolice", root,
	function(player)
	 local accName = getAccountName ( getPlayerAccount ( player ) )
		if isObjectInACLGroup("user."..accName, aclGetGroup("Console") ) then
		    setElementInterior( source, 3, 238.77066,142.54713,1003.02344 )
		end
	end
)

ما ظبطة وش اسوي فيها

 

Link to comment
addEvent("enterpolice", true)
addEventHandler("enterpolice", root,
	function()
	 local accName = getAccountName ( getPlayerAccount ( source ) )
		if isObjectInACLGroup("user."..accName, aclGetGroup("Console") ) then
		    setElementInterior( source, 3, 238.77066,142.54713,1003.02344 )
		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...