Dr.Xen Posted December 26, 2013 Share Posted December 26, 2013 السلام عليكم معي كود بسس ذي ماركر اول ما تلمس يموت ابيه اول ما تلمس وانت موب من القروب ينقلك لمكان@ marker = createMarker ( 270.89999389648,-1267.5,63.299999237061, "cylinder", 28, 255, 255, 0, 0 ) -------- function kill(thePlayer) local accName = getAccountName (getPlayerAccount(thePlayer)) if not isObjectInACLGroup ("user."..accName, aclGetGroup ( "SDA7" ) ) then killPed ( thePlayer ) outputChatBox("This vehicle is only for (SDA7) group!", player, 255, 0, 0) end end Link to comment
Crisi# Posted December 26, 2013 Share Posted December 26, 2013 marker = createMarker ( 270.89999389648,-1267.5,63.299999237061, "cylinder", 28, 255, 255, 0, 0 ) -------- function kill(thePlayer) local accName = getAccountName (getPlayerAccount(thePlayer)) if not isObjectInACLGroup ("user."..accName, aclGetGroup ( "SDA7" ) ) then killPed ( thePlayer ),(SDA7) outputChatBox("This vehicle is only for (SDA7) group!", player, 255, 0, 0) end end غير مجرب . Link to comment
Mr.AL#PLaYeR Posted December 26, 2013 Share Posted December 26, 2013 يالغالي #! 3 مواضيع بوقت واحد الأصل اصبر لين ينحل الاول Link to comment
Dr.Xen Posted December 26, 2013 Author Share Posted December 26, 2013 انحل الأول .. علشان كذا نزلت موضوع @ Link to comment
Dr.Xen Posted December 26, 2013 Author Share Posted December 26, 2013 marker = createMarker ( 270.89999389648,-1267.5,63.299999237061, "cylinder", 28, 255, 255, 0, 0 ) -------- function kill(thePlayer) local accName = getAccountName (getPlayerAccount(thePlayer)) if not isObjectInACLGroup ("user."..accName, aclGetGroup ( "SDA7" ) ) then killPed ( thePlayer ),(SDA7) outputChatBox("This vehicle is only for (SDA7) group!", player, 255, 0, 0) end end غير مجرب . ما غيرت شي .. ما زبط Link to comment
iPrestege Posted December 26, 2013 Share Posted December 26, 2013 -- # Server Side .. local marker = createMarker ( 270.89999389648,-1267.5,63.299999237061, 'cylinder', 28, 255, 255, 0, 0 ) addEventHandler('onMarkerHit',marker, function ( player ) if getElementType ( player ) == 'player' then local Acc = getAccountName ( getPlayerAccount ( player ) ) if not isObjectInACLGroup ( 'user.'..Acc, aclGetGroup ( 'SDA7' ) ) then setElementPosition ( player,x,y,z ) outputChatBox("This vehicle is only for (SDA7) group!", player, 255, 0, 0) end end end ) Link to comment
Dr.Xen Posted December 26, 2013 Author Share Posted December 26, 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