KaZoOzh Posted June 28, 2013 Author Share Posted June 28, 2013 marker = createMarker( 1857.47180,827.18615 ,9.39790, "cylinder", 2, 255, 255, 0, 255 ) addEventHandler("onMarkerHit", Marker, function ( player ) if ( getElementType ( player ) == ( "player" ) ) then if ( isObjectInACLGroup ("user."..getAccountName ( getPlayerAccount ( player ) ), aclGetGroup ( "Admin" ) ) ) then outputChatBox("تم الدخول",player,255,0,0) setElementInterior(player,14) setElementPosition(player,204.33232116699,-166.63243103027,1000.5234375) else outputChatBox("غير مصرح لكـ بأن تدخل آلمنزل",player,255,0,0) end end end ) Link to comment
S4MuEL Posted June 28, 2013 Share Posted June 28, 2013 هآذي مآهي ميتآ =\ ، وآلكود يصير كذآ marker = createMarker( 1857.47180,827.18615 ,9.39790, "cylinder", 2, 255, 255, 0, 255 ) addEventHandler("onMarkerHit", marker, function ( player ) if ( getElementType ( player ) == ( "player" ) ) then if ( isObjectInACLGroup ("user."..getAccountName ( getPlayerAccount ( player ) ), aclGetGroup ( "Admin" ) ) ) then outputChatBox("تم الدخول",player,255,0,0) setElementInterior(player,14) setElementPosition(player,204.33232116699,-166.63243103027,1000.5234375) else outputChatBox("غير مصرح لكـ بأن تدخل آلمنزل",player,255,0,0) end end end ) + نظم آكوآدكـ .. Link to comment
AHMAD1234 Posted June 28, 2013 Share Posted June 28, 2013 (edited) server side !!! function markerHit (hitPlayer, matchingDimension) if getElementType(hitPlayer) == "player" then if isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "Admin" ) ) then if (source == Marker) then setElementInterior(hitPlayer,14) setElementPosition(hitPlayer,204.33232116699,-166.63243103027,1000.5234375) outputChatBox ( "* #ff0000welcome back",player,255,0,0,true) end else outputChatBox ( "* #ff0000you are not admin!",player,255,0,0,true) end end end addEventHandler ("onMarkerHit", getRootElement(), markerHit) Edit: جرب اللي فوق Edited June 28, 2013 by Guest Link to comment
S4MuEL Posted June 28, 2013 Share Posted June 28, 2013 server side !!! function markerHit (hitPlayer, matchingDimension) if getElementType(hitPlayer) == "player" then if isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "Admin" ) ) then if (source == Marker) then setElementInterior(hitPlayer,14) setElementPosition(hitPlayer,204.33232116699,-166.63243103027,1000.5234375) outputChatBox ( "* #ff0000welcome back",player,255,0,0,true) end else outputChatBox ( "* #ff0000you are not admin!",player,255,0,0,true) end end end addEventHandler ("onMarkerHit", getRootElement(), markerHit) Edit: جرب اللي فوق مآ يحتآج ! matchingDimension Link to comment
AHMAD1234 Posted June 28, 2013 Share Posted June 28, 2013 "AHMAD" version="1.0" type="script" /> Link to comment
KaZoOzh Posted June 28, 2013 Author Share Posted June 28, 2013 خخ مخي مشقلب ذذ عندي اكيد Link to comment
AHMAD1234 Posted June 28, 2013 Share Posted June 28, 2013 خخ مخي مشقلب ذذ عندي اكيد حط الكود في جانب السيرفر وشغله بس ض1 Link to comment
KaZoOzh Posted June 28, 2013 Author Share Posted June 28, 2013 "sare" name="enteqalat" version="1.0.0" type="Hajwalah"/> Link to comment
S4MuEL Posted June 28, 2013 Share Posted June 28, 2013 type : Hajwalah ???? type: The type of this resource, that can be "gamemode", "script", "map" or "misc". @ https://wiki.multitheftauto.com/wiki/Meta.xml Link to comment
AHMAD1234 Posted June 28, 2013 Share Posted June 28, 2013 "sare" name="enteqalat" version="1.0.0" type="script"/> ~_~ يب Link to comment
KaZoOzh Posted June 28, 2013 Author Share Posted June 28, 2013 type : Hajwalah ???? type: The type of this resource, that can be "gamemode", "script", "map" or "misc". @ https://wiki.multitheftauto.com/wiki/Meta.xml طيب حطه قيم مود !..gamemode Link to comment
AHMAD1234 Posted June 28, 2013 Share Posted June 28, 2013 type : Hajwalah ???? type: The type of this resource, that can be "gamemode", "script", "map" or "misc". @ https://wiki.multitheftauto.com/wiki/Meta.xml طيب حطه قيم مود !..gamemode script Link to comment
S4MuEL Posted June 28, 2013 Share Posted June 28, 2013 يَ صآح .. خلنآ من آلأكوآد آلحين ~ .. آول شي قبل لآ تبدأ تقرأ كود آو آي شي , لازم تتعلم كيف تكون ملف ميتآ : ( ومجلد zip Link to comment
KaZoOzh Posted June 28, 2013 Author Share Posted June 28, 2013 خلاص ربي يسعد ايامكم سوتهأ المشكله في ميتأ Link to comment
KaZoOzh Posted June 28, 2013 Author Share Posted June 28, 2013 مشكور علي وقفهأ ارأئعه محد سحب تسلمون والله Link to comment
KaZoOzh Posted June 28, 2013 Author Share Posted June 28, 2013 هيك انأس يفتحون انفس للبرمجه Link to comment
KaZoOzh Posted June 28, 2013 Author Share Posted June 28, 2013 بس سؤال : كيف اطلع البيوت ! Link to comment
AHMAD1234 Posted June 28, 2013 Share Posted June 28, 2013 بس سؤال : كيف اطلع البيوت ! كيف يعني ما فهمت عليك تبى تخرج..؟ 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