☠ RaZeR ☠ Posted January 30, 2014 Share Posted January 30, 2014 (edited) هلا شباب ابي كود ماركر لانتقال بس للادمن ""|يعني لما اللاعب يروح للماركر ماينقله لازم يكون ادمن |"" يقول للاعب بالشات انت ليس معك صلاحيات بس هذا ماركر الانتقالات "|ابيه ماينتقل الا الادمن|" اوكــ local marker = createMarker( 4224, -1842.80005, 0.5, "cylinder", 2, 255, 255, 0, 0) createBlipAttachedTo(marker, 15) function changeLocation(person) setElementPosition(person, 4224.67236, -1829.95642, 4.95625) end addEventHandler("onMarkerHit", marker, changeLocation) Edited January 30, 2014 by Guest Link to comment
jafar Posted January 30, 2014 Share Posted January 30, 2014 local marker = createMarker ( 4224, -1842.80005, 0.5, "cylinder", 2, 255, 255, 0, 0 ); createBlipAttachedTo ( marker, 15 ); function changeLocation ( person ) if getElementType ( person ) == "player" then if isObjectInACLGroup ( "user."..getAccountName ( getPlayerAccount ( person ) ), aclGetGroup ( "Console" ) ) then setElementPosition ( person, 4224.67236, -1829.95642, 4.95625 ); else outputChatBox ( "لا يمكن إلا للأدمن الإنتقال !!!", person, 255, 0, 0, true ); end end end addEventHandler ( "onMarkerHit", marker, changeLocation ); Link to comment
☠ RaZeR ☠ Posted January 30, 2014 Author Share Posted January 30, 2014 مشكوووورر تمت الافاده 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