ALw7sH Posted March 1, 2013 Posted March 1, 2013 السسلام عليككم ورحمةة الله وبركاته ابي كود بوابة ماتفتح الا لعصابه معينه وكود اذا انت بعصابه يصير سباون حقك المقر
PaiN^ Posted March 1, 2013 Posted March 1, 2013 createMarker -- صنع ماركر getPlayerTeam -- التحقق من فريق اللاعب moveObject -- تحريك الباب "onMarkerHit" -- عند دخول الماركر ------------ spawnPlayer -- سباون للاعب "onPlayerLogin" -- سباون أول ما يسجل دخول "onPlayerWasted" -- سباون أول ما يموت " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
кιηg-αвα∂у Posted March 1, 2013 Posted March 1, 2013 createMarker -- صنع ماركر getPlayerTeam -- التحقق من فريق اللاعب moveObject -- تحريك الباب "onMarkerHit" -- عند دخول الماركر ------------ spawnPlayer -- سباون للاعب "onPlayerLogin" -- سباون أول ما يسجل دخول "onPlayerWasted" -- سباون أول ما يموت "onMarkerHit" --ماتنفع يستخدم isElementWithinMarker
PaiN^ Posted March 1, 2013 Posted March 1, 2013 createMarker -- صنع ماركر getPlayerTeam -- التحقق من فريق اللاعب moveObject -- تحريك الباب "onMarkerHit" -- عند دخول الماركر ------------ spawnPlayer -- سباون للاعب "onPlayerLogin" -- سباون أول ما يسجل دخول "onPlayerWasted" -- سباون أول ما يموت "onMarkerHit" --ماتنفع يستخدم isElementWithinMarker صح كلامك لحالها ما تنفع بس تنفع لو إستخدم معها "onMarkerLeave" " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
hassan.k.s.a Posted March 2, 2013 Posted March 2, 2013 وكود اذا انت بعصابه يصير سباون حقك المقر وضح شوي تبيه مثلا لو مات شخص وهو بعصابة >تيم> ا CoLoNeL ينتقل لـ مقره ؟ http://www.h7server.allalla.com/ -- http://qs-server.tk/ -- http://tfbgaming.net
ALw7sH Posted March 2, 2013 Author Posted March 2, 2013 local gate = createObject(980, 2464, -1658, 12.5, 0, 0, 90) local rahmen = createObject(3749, 2464, -1658, 18, 0, 0, 90) local theMarker = createMarker ( 2464, -1658, 12, "cylinder", 11.5, 255, 255, 0, 170 ) addEventHandler( "onClientMarkerHit", theMarker, function open() if (getElementData(open, "gang")) then moveObject(gate, 2000, 2464, -1658, 9, 0, 0, 0 ) end end ) addEventHandler( "onMarkerLeave", theMarker, function close() if (getElementData(open, "gang")) then moveObject(gate, 2000, 2464, -1658, 15, 0, 0, 0 ) end end ) وش الخطا بالكود او كله خطا؟
iPrestege Posted March 2, 2013 Posted March 2, 2013 local gate = createObject(980, 2464, -1658, 12.5, 0, 0, 90) local rahmen = createObject(3749, 2464, -1658, 18, 0, 0, 90) local theMarker = createMarker ( 2464, -1658, 12, "cylinder", 11.5, 255, 255, 0, 170 ) addEventHandler( "onClientMarkerHit", theMarker, function () if (getElementData(open, "gang")) then moveObject(gate, 2000, 2464, -1658, 9, 0, 0, 0 ) end end ) addEventHandler( "onClientMarkerLeave", theMarker, function () if (getElementData(open, "gang")) then moveObject(gate, 2000, 2464, -1658, 15, 0, 0, 0 ) end end ) # السكربت كلنت يعني وهمي
yazan Posted March 2, 2013 Posted March 2, 2013 اوبين و اوبين if (getElementData(open, "gang")) then moveObject(gate, 2000, 2464, -1658, 9, 0, 0, 0 ) end end ) addEventHandler( "onClientMarkerLeave", theMarker, function () if (getElementData(open, "gang")) then moveObject(gate, 2000, 2464, -1658, 15, 0, 0, 0 ) سبحان الله ---------------------------------- LUA 56%
PaiN^ Posted March 2, 2013 Posted March 2, 2013 local gate = createObject(980, 2464, -1658, 12.5, 0, 0, 90) local rahmen = createObject(3749, 2464, -1658, 18, 0, 0, 90) local theMarker = createMarker ( 2464, -1658, 12, "cylinder", 11.5, 255, 255, 0, 170 ) addEventHandler( "onClientMarkerHit", theMarker, function open() if (getElementData(open, "gang")) then moveObject(gate, 2000, 2464, -1658, 9, 0, 0, 0 ) end end ) addEventHandler( "onMarkerLeave", theMarker, function close() if (getElementData(open, "gang")) then moveObject(gate, 2000, 2464, -1658, 15, 0, 0, 0 ) end end ) وش الخطا بالكود او كله خطا؟ إستخدم "onMarkerHit" و "onMarkerLeave" سيرفر " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
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