KinG_DrifT Posted December 5, 2012 Share Posted December 5, 2012 السلام عليكم شبـااب اليوم حاولت اسسوي رادار اذا دخلتهه يطلع كلام بـ الششات بسس مايطلع الكلام مددري لييه هذا الكود local bb = createRadarArea( -750, 900, 100, 100, 0, 255, 0, 175 ) function hill_Enter ( thePlayer, matchingDimension ) outputChatBox ( "hi", 255, 255, 0 ) end addEventHandler ( "onColShapeHit", bb, hill_Enter ) Link to comment
BeCooL Posted December 5, 2012 Share Posted December 5, 2012 السلام عليكمشبـااب اليوم حاولت اسسوي رادار اذا دخلتهه يطلع كلام بـ الششات بسس مايطلع الكلام مددري لييه هذا الكود local bb = createRadarArea( -750, 900, 100, 100, 0, 255, 0, 175 ) function hill_Enter ( thePlayer, matchingDimension ) outputChatBox ( "hi", 255, 255, 0 ) end addEventHandler ( "onColShapeHit", bb, hill_Enter ) الكول شيب غير الرادار اعمل كول شيب وبدله بالرادار createColRectangle Link to comment
./BlackBird# Posted December 5, 2012 Share Posted December 5, 2012 السلام عليكمشبـااب اليوم حاولت اسسوي رادار اذا دخلتهه يطلع كلام بـ الششات بسس مايطلع الكلام مددري لييه هذا الكود local bb = createRadarArea( -750, 900, 100, 100, 0, 255, 0, 175 ) function hill_Enter ( thePlayer, matchingDimension ) outputChatBox ( "hi", 255, 255, 0 ) end addEventHandler ( "onColShapeHit", bb, hill_Enter ) الكول شيب غير الرادار اعمل كول شيب وبدله بالرادار createColRectangle لا بس سوي كول شيب و غير اسم الردار و حط اسم الكول شيب bb Link to comment
BeCooL Posted December 5, 2012 Share Posted December 5, 2012 لابس سوي كول شيب و غير اسم الردار و حط اسم الكول شيب bb ههه وش الفرق Link to comment
./BlackBird# Posted December 5, 2012 Share Posted December 5, 2012 انت تقول بدله بالرادار و هو يبي الرادار Link to comment
BeCooL Posted December 5, 2012 Share Posted December 5, 2012 انت تقول بدله بالرادار و هو يبي الرادار ولا تزعل Link to comment
KinG_DrifT Posted December 5, 2012 Author Share Posted December 5, 2012 local bb = createRadarArea( -750, 900, 100, 100, 0, 255, 0, 175 ) local bs = createColCuboid ( -750, 900, 100, 100, 10.0, 10.0 ) function hill_Enter ( hitPlayer, matchingDimension ) outputChatBox ( "hi", getRootElement(), 255, 255, 0 ) end addEventHandler ( "onColShapeHit", bb, hill_Enter ) سسييم سسيم sim simy Link to comment
./BlackBird# Posted December 5, 2012 Share Posted December 5, 2012 local bb = createRadarArea( -750, 900, 100, 100, 0, 255, 0, 175 ) local bs = createColCuboid ( -750, 900, 100, 100, 10.0, 10.0 ) function hill_Enter ( hitPlayer, matchingDimension ) outputChatBox ( "hi", getRootElement(), 255, 255, 0 ) end addEventHandler ( "onColShapeHit", bb, hill_Enter ) سسييم سسيم sim simy بدل اسمامي الردار و الكول شيب يعني اعكسهم Link to comment
KinG_DrifT Posted December 5, 2012 Author Share Posted December 5, 2012 local bb = createRadarArea( -750, 900, 100, 100, 0, 255, 0, 175 ) local bs = createColCuboid ( -750, 900, 100, 100, 10.0, 10.0 ) function hill_Enter ( hitPlayer, matchingDimension ) outputChatBox ( "hi", getRootElement(), 255, 255, 0 ) end addEventHandler ( "onColShapeHit", bb, hill_Enter ) سسييم سسيم sim simy بدل اسمامي الردار و الكول شيب يعني اعكسهم صصراحة ماضبط بسس اتوقع لازم احط الرادار نففسس الكول بسس ماعرف كيف اركبهم على بعضض بـ الضبط Link to comment
KinG_DrifT Posted December 5, 2012 Author Share Posted December 5, 2012 شبـااب كيف ارربط الرادار معع الكول شب Link to comment
AhmadQTR Posted December 5, 2012 Share Posted December 5, 2012 شبـااب كيف ارربط الرادار معع الكول شب تفضل local bb = { [1] = createRadarArea( -750, 900, 100, 100, 0, 255, 0, 175 ); [2] = createColCuboid ( -750, 900, 100, 100, 10.0, 10.0 ); } function hill_Enter ( hitPlayer, matchingDimension ) outputChatBox ( "hi", getRootElement(), 255, 255, 0 ) end addEventHandler ( "onColShapeHit", bb, hill_Enter ) Link to comment
KinG_DrifT Posted December 5, 2012 Author Share Posted December 5, 2012 شبااب في خطأ في الايفنت بسس ماعرفت كيف local bb = { [1] = createRadarArea( -750, 900, 100, 100, 0, 255, 0, 175 ); [2] = createColCuboid ( -710, 920, 10, 80, 70, 50 ); } function hill_Enter ( hitPlayer ) outputChatBox ("hi") end addEventHandler ( "onColShapeHit", bb, root) Link to comment
iPrestege Posted December 5, 2012 Share Posted December 5, 2012 شبااب في خطأ في الايفنت بسس ماعرفت كيف local bb = { [1] = createRadarArea( -750, 900, 100, 100, 0, 255, 0, 175 ); [2] = createColCuboid ( -710, 920, 10, 80, 70, 50 ); } function hill_Enter ( hitPlayer ) outputChatBox ("hi") end addEventHandler ( "onColShapeHit", bb, root) local bb = { [1] = createRadarArea( -750, 900, 100, 100, 0, 255, 0, 175 ); [2] = createColCuboid ( -710, 920, 10, 80, 70, 50 ); } function hill_Enter ( hitPlayer ) outputChatBox ("hi") end addEventHandler ( "onColShapeHit", bb, hill_Enter ) Link to comment
KinG_DrifT Posted December 5, 2012 Author Share Posted December 5, 2012 شبااب في خطأ في الايفنت بسس ماعرفت كيف local bb = { [1] = createRadarArea( -750, 900, 100, 100, 0, 255, 0, 175 ); [2] = createColCuboid ( -710, 920, 10, 80, 70, 50 ); } function hill_Enter ( hitPlayer ) outputChatBox ("hi") end addEventHandler ( "onColShapeHit", bb, root) local bb = { [1] = createRadarArea( -750, 900, 100, 100, 0, 255, 0, 175 ); [2] = createColCuboid ( -710, 920, 10, 80, 70, 50 ); } function hill_Enter ( hitPlayer ) outputChatBox ("hi") end addEventHandler ( "onColShapeHit", bb, hill_Enter ) للآسسف خطـأأ Link to comment
./BlackBird# Posted December 5, 2012 Share Posted December 5, 2012 local bs= createRadarArea( -750, 900, 100, 100, 0, 255, 0, 175 ) local bb= createColCuboid ( -750, 900, 100, 100, 10.0, 10.0 ) function hill_Enter ( hitPlayer, matchingDimension ) if(getElementType(hitPlayer)=='player')then outputChatBox ( "hi", getRootElement(), 255, 255, 0 ) end end addEventHandler ( "onColShapeHit", bb, hill_Enter ) Link to comment
3NAD Posted December 5, 2012 Share Posted December 5, 2012 -- Server Side x, y = -750, 900 createRadarArea ( x, y, 100, 100, 0, 255, 0, 175 ) createColCuboid ( x, y, 10, 80, 70, 50 ) addEventHandler ( "onColShapeHit", getResourceRootElement ( getThisResource() ), function ( thePlayer ) if getElementType ( thePlayer ) == "player" then outputChatBox ( "* Entered To Radar Area !!", thePlayer, 0, 255, 0, true ) end end ) addEventHandler ( "onColShapeLeave", getResourceRootElement ( getThisResource() ), function ( thePlayer ) if getElementType ( thePlayer ) == "player" then outputChatBox ( "* Exited From Radar Area !!", thePlayer, 255, 0, 0, true ) end end ) Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now