Jump to content

مساعدة


Recommended Posts

function YAZN(button, state, absX, absY, wx, wy, wz, element )
  if button == "right" then
    if (element) and (getElementType(element)=="object") then
    if getElementModel(1029) then
    outputChatBox("طاولة طعام")
        end
    end
end
end
addEventHandler ( "onClientClick", getRootElement(), YAZN)

اواجه مشكلة وغريب انه ما يطلع لى خطأ مصدره او اي شيء على سكريبت في دي بق سكريبت ابغا اسوي يوم يضغط على اوبجكت 1518 ينفد كلام ب شات

Link to comment
addEventHandler ( "onClientClick", root,
	function ( button, state, _, _, _, _, _, element )
		if ( button == "right" and state == "down" ) then
			if ( element and getElementType ( element ) == "object" ) then
				if ( getElementModel ( element ) == 1518 ) then
					outputChatBox("Object")
				end
			end
		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...