~>i'Mr.ZaId<~ Posted June 16, 2013 Share Posted June 16, 2013 السلام عليكم ورحمةة اللهه وبركاتهه هاذ كودي marker = createMarker(1932, 530, 60.1,"cylinder",2,255,0,111,255,getRootElement()) function teleport (hitElement) setElementPosition(hitElement,1937,592,11) end addEventHandler("onMarkerHit", marker, teleport) ابي منكم يا شباب تخلوه لقروب معين مو تيم يعني الي يلمسه من القروب المحدد ينتقل واذا مو من القروب تجيه رسالة انه لازم يكون من القروب والقروب يا شباب نفس قروبات حرب العصآبات Link to comment
SmoKing Posted June 16, 2013 Share Posted June 16, 2013 اضن كذا local marker = createMarker ( 1932, 530, 60.1, "cylinder", 2, 255, 0, 111, 255) function teleport (thePlayer) if (getElementData(thePlayer,"Group") == "Your Group") then setElementPosition(thePlayer,1937,592,11) outputChatBox("تم نقلك",thePlayer,255,255,255,true) else outputChatBox("لا يمكنك الانتقال",thePlayer,255,255,255,true) end end addEventHandler("onMarkerHit", marker, teleport) Link to comment
jafar Posted June 16, 2013 Share Posted June 16, 2013 السلام عليكم ورحمةة اللهه وبركاتهه هاذ كودي marker = createMarker(1932, 530, 60.1,"cylinder",2,255,0,111,255,getRootElement()) function teleport (hitElement) setElementPosition(hitElement,1937,592,11) end addEventHandler("onMarkerHit", marker, teleport) ابي منكم يا شباب تخلوه لقروب معين مو تيم يعني الي يلمسه من القروب المحدد ينتقل واذا مو من القروب تجيه رسالة انه لازم يكون من القروب والقروب يا شباب نفس قروبات حرب العصآبات قروب إسل ,, أو لوحة عصابات ؟ Link to comment
iPrestege Posted June 16, 2013 Share Posted June 16, 2013 اضن كذا local marker = createMarker ( 1932, 530, 60.1, "cylinder", 2, 255, 0, 111, 255) function teleport (thePlayer) if (getElementData(thePlayer,"Group") == "Your Group") then setElementPosition(thePlayer,1937,592,11) outputChatBox("تم نقلك",thePlayer,255,255,255,true) else outputChatBox("لا يمكنك الانتقال",thePlayer,255,255,255,true) end end addEventHandler("onMarkerHit", marker, teleport) ماتحققت لالمنت اللي لمس الماركر وش هو Link to comment
~>i'Mr.ZaId<~ Posted June 16, 2013 Author Share Posted June 16, 2013 اضن كذا local marker = createMarker ( 1932, 530, 60.1, "cylinder", 2, 255, 0, 111, 255) function teleport (thePlayer) if (getElementData(thePlayer,"Group") == "Your Group") then setElementPosition(thePlayer,1937,592,11) outputChatBox("تم نقلك",thePlayer,255,255,255,true) else outputChatBox("لا يمكنك الانتقال",thePlayer,255,255,255,true) end end addEventHandler("onMarkerHit", marker, teleport) ماتحققت لالمنت اللي لمس الماركر وش هو ســؤال ليش حطيت لوكال قبل كلمة ماركر فوق؟ وش الفرق ااذا حطيت لوكال او ما حطيت Link to comment
iPrestege Posted June 16, 2013 Share Posted June 16, 2013 https://forum.multitheftauto.com/viewtopic.php?f=164&t=51228 Link to comment
SmoKing Posted June 16, 2013 Share Posted June 16, 2013 (edited) طيب كذا local marker = createMarker ( 1932, 530, 60.1, "cylinder", 2, 255, 0, 111, 255 ) function teleport (thePlayer) if getElementType(thePlayer) == "player" then if (getElementData(thePlayer,"Group") == "Your Group") then setElementPosition(thePlayer,1937,592,11) outputChatBox("تم نقلك",thePlayer,255,255,255,true) else outputChatBox("لا يمكنك الانتقال",thePlayer,255,255,255,true) end end end addEventHandler("onMarkerHit", marker, teleport) تم التعديل Edited June 16, 2013 by Guest Link to comment
AHMAD1234 Posted June 16, 2013 Share Posted June 16, 2013 if getElementType(thePlayer) == "player" then Link to comment
SmoKing Posted June 16, 2013 Share Posted June 16, 2013 if getElementType(thePlayer) == "player" then سوري نسيته Link to comment
AHMAD1234 Posted June 16, 2013 Share Posted June 16, 2013 if getElementType(thePlayer) == "player" then سوري نسيته 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