KinG_DrifT Posted December 6, 2012 Share Posted December 6, 2012 (edited) السسلآآم عليكم شباب عندي كول شب ابي الوظيفة بسس لتيم محدد وشكرا Edited December 6, 2012 by Guest Link to comment
KinG_DrifT Posted December 6, 2012 Author Share Posted December 6, 2012 ACL تيم او قروب تيم او اسسل ايي شي Link to comment
AhmadQTR Posted December 6, 2012 Share Posted December 6, 2012 ACL تيم او قروب تيم او اسسل ايي شي local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then هذا acl Link to comment
KinG_DrifT Posted December 6, 2012 Author Share Posted December 6, 2012 ACL تيم او قروب تيم او اسسل ايي شي local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then هذا acl لاهنت بسس ابيه ايي ادمن مو بسس كاملة Link to comment
KinG_DrifT Posted December 6, 2012 Author Share Posted December 6, 2012 hasObjectPermissionTo Link to comment
TD[M]ER Posted December 6, 2012 Share Posted December 6, 2012 (edited) if ( hasObjectPermissionTo ( playerSource, "function.kickPlayer", false ) ) then هذا يخلي اللي يقدر يصكـ كيك هو اللي يدخل الماركر :] Edited December 6, 2012 by Guest Link to comment
./BlackBird# Posted December 6, 2012 Share Posted December 6, 2012 hasObjectPermissionTo ليه منصدم؟ هو معطيك الكود Link to comment
./BlackBird# Posted December 6, 2012 Share Posted December 6, 2012 if ( hasObjectPermissionTo ( playerSource, "function.kickPlayer", false ) ) then هذا يخلي اللي يقدر يصكـ كيك هو اللي يدخل الماركر :] playerSource = ??????????? Link to comment
KinG_DrifT Posted December 6, 2012 Author Share Posted December 6, 2012 خلاص ابيه تيم اسسهل > Link to comment
TD[M]ER Posted December 6, 2012 Share Posted December 6, 2012 if ( hasObjectPermissionTo ( playerSource, "function.kickPlayer", false ) ) then هذا يخلي اللي يقدر يصكـ كيك هو اللي يدخل الماركر :] playerSource = ??????????? اعتقد انها اسم الوظيفه :] انا جايبه من الامثله Link to comment
KinG_DrifT Posted December 6, 2012 Author Share Posted December 6, 2012 شبااااب عندي تيم ابي كود يخلي الوظيفة بسس لهذا التيمم Link to comment
abu5lf Posted December 6, 2012 Share Posted December 6, 2012 getPlayerTeam getTeamFromName Link to comment
KinG_DrifT Posted December 6, 2012 Author Share Posted December 6, 2012 (edited) getPlayerTeam getTeamFromName انا ابي if ----------------------------then --الوظيفة Edited December 6, 2012 by Guest Link to comment
abu5lf Posted December 6, 2012 Share Posted December 6, 2012 طيب هو نفسه الي فوق -_-" Link to comment
abu5lf Posted December 6, 2012 Share Posted December 6, 2012 if getPlayerTeam( player ) == getTeamFromName( 'اسم التيم' ) then -- كودك end صعب؟ Link to comment
KinG_DrifT Posted December 6, 2012 Author Share Posted December 6, 2012 if getPlayerTeam( player ) == getTeamFromName( 'اسم التيم' ) then -- كودك end صعب؟ ادري انه مو صععب بسس اول مررة اسسوي كذا Link to comment
KinG_DrifT Posted December 6, 2012 Author Share Posted December 6, 2012 Bad argument @ 'getPlayerTeam' Link to comment
KinG_DrifT Posted December 6, 2012 Author Share Posted December 6, 2012 Bad argument @ 'getPlayerTeam' Bad argument @ 'getTeamFromName' Link to comment
KinG_DrifT Posted December 6, 2012 Author Share Posted December 6, 2012 dor1 = createObject(10671,-1736.5, 943.79998779297, 25.60000038147,0,0,90) col1 = createColCuboid ( -1743, 940, 24.74, 12, 6, 3 ) function s ( p ) if getPlayerTeam( hitPlayer ) == getTeamFromName( staff ) then moveObject ( dor1, 100, -1736.5, 943.79998779297, 20 ) end end addEventHandler('onColShapeHit', col1, s ) Link to comment
abu5lf Posted December 6, 2012 Share Posted December 6, 2012 dor1 = createObject(10671,-1736.5, 943.79998779297, 25.60000038147,0,0,90) col1 = createColCuboid ( -1743, 940, 24.74, 12, 6, 3 ) function s ( p ) if getPlayerTeam( p ) == getTeamFromName( 'staff' ) then moveObject ( dor1, 100, -1736.5, 943.79998779297, 20 ) end end addEventHandler('onColShapeHit', col1, s ) 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