Jump to content

شباب


Recommended Posts

addCommandHandler ( "madmin" ,  
 function ( player ) 
  if ( getElementType ( player ) == ( "player" ) ) then 
   if not ( isObjectInACLGroup ("user."..getAccountName ( getPlayerAccount ( player ) ), aclGetGroup (  "Console" ) ) ) then 
    return  
      setElementPosition ( player, 2481.50659,-1703.26233,13.52803 ) 
     outputChatBox("تم نقلك الى مقر الادمنية !! / It was taken to the Base of the Admins !!",player,255,0,0) 
    else 
      setElementPosition ( Player, 2484.42725,-1672.45129,13.33595) ) 
     outputChatBox("لقد خرجت من مقر الادمنية / You Now Exit For Base Admins",player,255,0,0) 
    else 
     outputChatBox("You Moust Be in Group Admin ! / يجب ان تكون في قروب ادمن",player,255,0,0) 
   end 
 end 
end ) 
  

Link to comment

تفضل

 state = true 
  
 addCommandHandler ( "madmin" , 
 function ( player ) 
    if ( isObjectInACLGroup('user.'..getAccountName(getPlayerAccount(player)),aclGetGroup ('Console') ) ) then 
     if ( state == true ) then 
      setElementPosition ( player, 2481.50659,-1703.26233,13.52803 ) 
     outputChatBox("تم نقلك الى مقر الادمنية !! / It was taken to the Base of the Admins !!",player,255,0,0) 
     state = false; 
    else 
      setElementPosition ( player, 2484.42725,-1672.45129,13.33595)  
      state = true; 
     outputChatBox("لقد خرجت من مقر الادمنية / You Now Exit For Base Admins",player,255,0,0) 
     end 
    else 
     outputChatBox("You Moust Be in Group Admin ! / يجب ان تكون في قروب ادمن",player,255,0,0) 
   end 
end ) 

Link to comment
addCommandHandler ( "madmin" ,  
 function ( player ) 
  if ( getElementType ( player ) == ( "player" ) ) then 
   if not ( isObjectInACLGroup ("user."..getAccountName ( getPlayerAccount ( player ) ), aclGetGroup (  "Console" ) ) ) then 
    return  
      setElementPosition ( player, 2481.50659,-1703.26233,13.52803 ) 
     outputChatBox("تم نقلك الى مقر الادمنية !! / It was taken to the Base of the Admins !!",player,255,0,0) 
    else 
      setElementPosition ( Player, 2484.42725,-1672.45129,13.33595) ) 
     outputChatBox("لقد خرجت من مقر الادمنية / You Now Exit For Base Admins",player,255,0,0) 
    else 
     outputChatBox("You Moust Be in Group Admin ! / يجب ان تكون في قروب ادمن",player,255,0,0) 
   end 
 end 
end ) 
  

انت حاط الكود لو اتحقق إنك كونسل مايوديك لمقر الادمنية اللي انت مسويه :lol::lol::lol:

Link to comment
addCommandHandler ( "madmin" , 
 function ( player ) 
  if ( getElementType ( player ) == ( "player" ) ) then 
    if not ( isObjectInACLGroup ("user."..getAccountName ( getPlayerAccount ( player ) ), aclGetGroup (  "Console" ) ) ) then return 
      setElementPosition ( player, 2481.50659,-1703.26233,13.52803 ) 
      outputChatBox("تم نقلك الى مقر الادمنية !! / It was taken to the Base of the Admins !!",player,255,0,0) 
    else 
      setElementPosition ( Player, 2484.42725,-1672.45129,13.33595) ) 
      outputChatBox("لقد خرجت من مقر الادمنية / You Now Exit For Base Admins",player,255,0,0) 
    else 
     outputChatBox("You Moust Be in Group Admin ! / يجب ان تكون في قروب ادمن",player,255,0,0) 
    end 
  end 
end 

Link to comment
addCommandHandler ( "madmin" ,  
 function ( player ) 
  if ( getElementType ( player ) == ( "player" ) ) then 
   if not ( isObjectInACLGroup ("user."..getAccountName ( getPlayerAccount ( player ) ), aclGetGroup (  "Console" ) ) ) then 
    return  
      setElementPosition ( player, 2481.50659,-1703.26233,13.52803 ) 
     outputChatBox("تم نقلك الى مقر الادمنية !! / It was taken to the Base of the Admins !!",player,255,0,0) 
    else 
      setElementPosition ( Player, 2484.42725,-1672.45129,13.33595) ) 
     outputChatBox("لقد خرجت من مقر الادمنية / You Now Exit For Base Admins",player,255,0,0) 
    else 
     outputChatBox("You Moust Be in Group Admin ! / يجب ان تكون في قروب ادمن",player,255,0,0) 
   end 
 end 
end ) 
  

انت حاط الكود لو اتحقق إنك كونسل مايوديك لمقر الادمنية اللي انت مسويه :lol::lol::lol:

:) أفهم الكود كامل

return وشوف الـ

Link to comment
addCommandHandler ( "madmin" ,  
 function ( player ) 
  if ( getElementType ( player ) == ( "player" ) ) then 
   if not ( isObjectInACLGroup ("user."..getAccountName ( getPlayerAccount ( player ) ), aclGetGroup (  "Console" ) ) ) then 
    return  
      setElementPosition ( player, 2481.50659,-1703.26233,13.52803 ) 
     outputChatBox("تم نقلك الى مقر الادمنية !! / It was taken to the Base of the Admins !!",player,255,0,0) 
    else 
      setElementPosition ( Player, 2484.42725,-1672.45129,13.33595) ) 
     outputChatBox("لقد خرجت من مقر الادمنية / You Now Exit For Base Admins",player,255,0,0) 
    else 
     outputChatBox("You Moust Be in Group Admin ! / يجب ان تكون في قروب ادمن",player,255,0,0) 
   end 
 end 
end ) 
  

انت حاط الكود لو اتحقق إنك كونسل مايوديك لمقر الادمنية اللي انت مسويه :lol::lol::lol:

:) أفهم الكود كامل

return وشوف الـ

احح ماشفتها ضض1

Link to comment
addCommandHandler ( "madmin" , 
 function ( player ) 
  if ( getElementType ( player ) == ( "player" ) ) then 
    if not ( isObjectInACLGroup ("user."..getAccountName ( getPlayerAccount ( player ) ), aclGetGroup (  "Console" ) ) ) then return 
      setElementPosition ( player, 2481.50659,-1703.26233,13.52803 ) 
      outputChatBox("تم نقلك الى مقر الادمنية !! / It was taken to the Base of the Admins !!",player,255,0,0) 
    else 
      setElementPosition ( Player, 2484.42725,-1672.45129,13.33595) ) 
      outputChatBox("لقد خرجت من مقر الادمنية / You Now Exit For Base Admins",player,255,0,0) 
    else 
     outputChatBox("You Moust Be in Group Admin ! / يجب ان تكون في قروب ادمن",player,255,0,0) 
    end 
  end 
end 

أول شيء تتحقق أن الي كتب الأمر هو لاعب ؟ لا مثلاً الأوبجكت يجي يكتب ؟

في سطر 8 عندك خطأ بكلمة بلاير

عندك قوس ناقص | =

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...