; Mr.T76eM # Posted April 9, 2015 Share Posted April 9, 2015 (edited) السلام عليكم ورحمة الله وبركآتهه .. بسم الله الرحمن الرحيم الكود : function (thePlayer) local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) if getElementType(thePlayer) == "player" then for theKey,theGroup in ipairs(groups) do if isObjectInACLGroup("user." .. accName, aclGetGroup(theGroup)) then outputChatBox(" مـَرحـبآ بِك ",thePlayer,0,0,255,true) تمت الافآدة ***** ) السكربت عبارة عن وظيفة لرتب معينة السكرب شغالة تمام المفروض اذا له تصريح تطلع له مرحبآ بك وإذا ماله تصريح تطلع لا تملك تصريح ولكن الي لديهم تصريح يطلع لهم السطرين (مرحبآ بكـ وَ لا تملك تصريح( والي مالهم تصريح ما يطلع شيء .. Edited April 9, 2015 by Guest Link to comment
ALw7sH Posted April 9, 2015 Share Posted April 9, 2015 function (thePlayer) local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) local output = false if getElementType(thePlayer) == "player" then for theKey,theGroup in ipairs(groups) do if isObjectInACLGroup("user." .. accName, aclGetGroup(theGroup)) then outputChatBox(" مـَرحـبآ بِك ",thePlayer,0,0,255,true) setElementPosition(thePlayer,238.85658,141.07948,1003.02344) setElementInterior(thePlayer, 3) setElementDimension(thePlayer, 0 ) giveWeapon ( thePlayer, 3, 0 ) setPedSkin ( thePlayer , 282) output = true break end end if output == false then outputChatBox("للا تملك تصريح .",thePlayer,0,0,255,true) end end end ) Link to comment
; Mr.T76eM # Posted April 9, 2015 Author Share Posted April 9, 2015 مــَشكور بآرك الله بك يجعله من ميزان حسنآتك كفو .. تم التجربة واشتغل تمت الافادة ض0 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