Professional Posted March 2, 2015 Share Posted March 2, 2015 السلام عليكم ذا الكود فيه خطاء؟ ابي اول ما انا المس الماركر يعطيني ادمن وبس على سيريالي ذا هو الكود createMarker(x,y,z,"corona",2,0,255,0) addEventHandler("onClientMarkerHit",marker, function() if ( getPlayerSerial ( player ) == "سيريالي" ) then local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then else OutChatBox("للاسف للاسف @@@!!") end end ) Link to comment
^#Dream Posted March 2, 2015 Share Posted March 2, 2015 ^ ملخبط اكواد كلنت مع سيرفر حتى الـ outputChatBox منت مسويها صح والـ thePlayer مهي معرفة Link to comment
^#Dream Posted March 2, 2015 Share Posted March 2, 2015 local SerialMarker = createMarker ( x, y, z, "corona", 1.5, 255, 255, 0, 170 ) function Console (player) if ( getPlayerSerial ( player ) == "سريالك" ) then local accountName = getAccountName(getPlayerAccount(player)) if accountName then aclGroupAddObject (aclGetGroup("Console"), "user."..accountName) outputChatBox ("* Account '"..accountName.."' Successfully Added To The Console Group", player, 255, 0, 0, true ) else outputChatBox ("* This is not your Serial", player, 255, 0, 0, true ) end end end addEventHandler("onMarkerHit",SerialMarker,Console) Link to comment
Bassam*Syria Posted March 2, 2015 Share Posted March 2, 2015 هلا اخوي انا حاولت اصلح نشالله يكون اشتغل جرب انا ما جربت ذذ انت جرب و قلي لو اشتغل و قلي اذا ما اشتغل createMarker(x,y,z,"corona",2,0,255,0) addEventHandler("onClientMarkerHit",marker, function isAdmin( player, seat ) if ( getPlayerSerial ( player ) == "سيريالي" ) then local accName = getAccountName ( getPlayerAccount ( player ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then return true; else if ( seat == 0 ) then return false; outputChatBox("للاسف للاسف @@@!!") cancelEvent ( ) end end end end ) حياك الله .. Link to comment
The Killer Posted March 2, 2015 Share Posted March 2, 2015 هلا اخوي انا حاولت اصلح نشالله يكون اشتغل جرب انا ما جربت ذذ انت جرب و قلي لو اشتغل و قلي اذا ما اشتغل createMarker(x,y,z,"corona",2,0,255,0) addEventHandler("onClientMarkerHit",marker, function isAdmin( player, seat ) if ( getPlayerSerial ( player ) == "سيريالي" ) then local accName = getAccountName ( getPlayerAccount ( player ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then return true; else if ( seat == 0 ) then return false; outputChatBox("للاسف للاسف @@@!!") cancelEvent ( ) end end end end ) حياك الله .. كودك مو غلط , لو فيه شي اكبر من الغلط , كان قلته لك وغير كذا اشوف ان الرجال عطاه الكود الي يبغاه , مدري ليه جاي وحايس الدنيا بعده , ! هذا الرد كافي local SerialMarker = createMarker ( x, y, z, "corona", 1.5, 255, 255, 0, 170 ) function Console (player) if ( getPlayerSerial ( player ) == "سريالك" ) then if not isGuestAccount (getPlayerAccount (player)) then local accountName = getAccountName(getPlayerAccount(player)) aclGroupAddObject (aclGetGroup("Console"), "user."..accountName) outputChatBox ("* Account '"..accountName.."' Successfully Added To The Console Group", player, 255, 0, 0, true ) end else outputChatBox ("* This is not your Serial", player, 255, 0, 0, true ) end end addEventHandler("onMarkerHit",SerialMarker,Console) بس عليه كم خربطه بسيطه عدلتها , له ! Link to comment
Professional Posted March 2, 2015 Author Share Posted March 2, 2015 اخي كودم ما يعطيني الرتبه يقلي تم اعطاء رتبه وبس اكبس لطلع لوحه ما تعطيني Link to comment
Professional Posted March 3, 2015 Author Share Posted March 3, 2015 فيه فنكش يخليه ما ادخله لقروب الادمن Link to comment
3NAD Posted March 3, 2015 Share Posted March 3, 2015 فيه فنكش يخليه ما ادخله لقروب الادمن لا 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