Jump to content

xxx[مساعدة]xxx


Doffy

Recommended Posts

Posted (edited)

ابي اول ما اللاعب يدخل كول شيب ما يقدر يشغل مثلا من اف 1 ل اف 12 ولما اللاعب يحاول يضغط من اف 1 ل 12 يقوله لا يمكنك تشغيل هذه اللوحات هنا

Edited by KinG_Himoo12
Posted

افهم منه وضيف اكواد لما يخش الماركر حق الكول شيت

 

721195519.png

595770773.png

 

76561198277320954.pngAddFriend.png

خلك احسن من غيرك,

لا تقول عندهم اشياء ماهي عندي

انت عندك اشياء ماهي عند غيرك #

Posted
1 minute ago, Abu-Solo said:

افهم منه وضيف اكواد لما يخش الماركر حق الكول شيت

انا مابي من ماركر بس ابيه للكول شيب

Posted
Just now, #BrosS said:

غير الحدث الى ^


onColShapeHit

 

اوك :D

بس انا مابيه في عالم وهمي يخوي

Posted
1 minute ago, KinG_Himoo12 said:

اوك :D

بس انا مابيه في عالم وهمي يخوي

شيل كود العالم الوهمي ذذ

 

721195519.png

595770773.png

 

76561198277320954.pngAddFriend.png

خلك احسن من غيرك,

لا تقول عندهم اشياء ماهي عندي

انت عندك اشياء ماهي عند غيرك #

Posted
2 minutes ago, KinG_Himoo12 said:

اوك :D

بس انا مابيه في عالم وهمي يخوي

احذف تحقق العالم الوهمي :@

من أراد الفشل عليه بالنجاح

Posted
1 minute ago, Abu-Solo said:

شيل كود العالم الوهمي ذذ

onClientKey طيب وحقت
onColShapeHit اخليها ؟

Posted
Just now, KinG_Himoo12 said:

onClientKey طيب وحقت
onColShapeHit اخليها ؟

أتوقع تقدر تضيف الحدثين

 

721195519.png

595770773.png

 

76561198277320954.pngAddFriend.png

خلك احسن من غيرك,

لا تقول عندهم اشياء ماهي عندي

انت عندك اشياء ماهي عند غيرك #

Posted
Just now, KinG_Himoo12 said:

onClientKey طيب وحقت
onColShapeHit اخليها ؟

لا 

غير 

onMarkerHit

الى

onColShapeHit

وطبعا حط كول شيب لا تخلي 

createMarker

من أراد الفشل عليه بالنجاح

Posted
3 minutes ago, #BrosS said:

لا 

غير 

onMarkerHit

الى

onColShapeHit

وطبعا حط كول شيب لا تخلي 

createMarker

وش ذا التخبيص

وكيف الحدث حق الزرار بيشتغل؟

 

721195519.png

595770773.png

 

76561198277320954.pngAddFriend.png

خلك احسن من غيرك,

لا تقول عندهم اشياء ماهي عندي

انت عندك اشياء ماهي عند غيرك #

Posted
1 minute ago, Abu-Solo said:

وش ذا التخبيص

وكيف الحدث حق الزرار بيشتغل؟

طيب ياخوان شوفولي حل اي حدث ؟

اي حدث اختار فيهم

Posted
Just now, KinG_Himoo12 said:

طيب ياخوان شوفولي حل اي حدث ؟

اي حدث اختار فيهم

جرب الاثنين

حق ال

onClientKey

و

onColShapeHit

 

721195519.png

595770773.png

 

76561198277320954.pngAddFriend.png

خلك احسن من غيرك,

لا تقول عندهم اشياء ماهي عندي

انت عندك اشياء ماهي عند غيرك #

Posted (edited)
local ColS = createColRectangle ( ..... )

addEventHandler ( "onColShapeHit", root,
function ( thePlayer )
        if source == ColS then
        if getElementType ( thePlayer ) == "player" then 
		setElementData(source,"noCanUseKey",true)
		outputChatBox ( "Your entered the zone!", thePlayer, 255, 255, 109 )
		end
     end
  end
)

addEventHandler ( "onColShapeLeave", root,
function ( thePlayer )
		if source == ColS then
        if getElementType ( thePlayer ) == "player" then 
		setElementData(source,"noCanUseKey",false)
		outputChatBox ( "Your leaved the zone!", thePlayer, 255, 255, 109 )
		end
     end
  end
)
 local buttons = {
 ['F1'] = true,
 ['F3'] = true,
}
 
addEventHandler( 'onClientKey', root,
 function (button , press)
 if getElementData ( localPlayer , "noCanUseKey" ) == true then
    if press and getElementDimension(localPlayer) == 30 then
        if buttons[button] then
            outputChatBox("غير مصرح لك بفتح اللوحة الان ", 255, 0, 0)
                cancelEvent()
			end
        end
    end
end)

 

#Edit:

سطر 9 خليه كذا 

if press then

Edited by #_iMr.[E]coo
  • Like 1

- Hashemite Kingdom Of Jordan -

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