Jump to content

طلب كود


Recommended Posts

  
--- server side 
Marker = createMarker( x,y,z,'cylinder',size,255,255,0,0 ) 
function admin ( )  
aclGroupAddObject (aclGetGroup("Admin"), "user.**") 
  
end 
addEventHandler("onMarkerHit", Marker, admin) 

والله اعتقد اعتقد كذا :]

هذا اللي اعرفهه

ماجربتهه ولا قيد جربته انت شوف عاد

Link to comment
  
--- server side 
Marker = createMarker( x,y,z,'cylinder',size,255,255,0,0 ) 
function admin ( )  
aclGroupAddObject (aclGetGroup("Admin"), "user.**") 
  
end 
end 
addEventHandler("onMarkerHit", Marker, admin) 

والله اعتقد اعتقد كذا :]

هذا اللي اعرفهه

ماجربتهه ولا قيد جربته انت شوف عاد

اظن لازم تعطي صلاحيات للمود في قروب الادمن

Link to comment
  
--- server side 
Marker = createMarker( x,y,z,'cylinder',size,255,255,0,0 ) 
function admin ( )  
aclGroupAddObject (aclGetGroup("Admin"), "user.**") 
  
end 
addEventHandler("onMarkerHit", Marker, admin) 

والله اعتقد اعتقد كذا :]

هذا اللي اعرفهه

ماجربتهه ولا قيد جربته انت شوف عاد

+

getPlayerAccount 
getAccountName 

Link to comment
--- server side 
Marker = createMarker( x,y,z,'cylinder',size,255,255,0,0 ) 
function admin (element) 
if(getElementType(element)=='player')then 
local account = getAccountName(getPlayerAccount(element)) 
aclGroupAddObject (aclGetGroup("Admin"),"user." .. account) 
  
end 
addEventHandler("onMarkerHit", Marker, admin) 
  

كود دمار يجيب حساب الماركر خخخخخخخخخخخخخخ

Link to comment
marker = createMarker(x, y, z, "cylinder", 2.5, 255, 255, 0, 0) 
  
addEventHandler("onMarkerHit", marker 
function(player) 
     if getElementType(player) == "player" then 
          local account = getPlayerAccount(player) 
          if account and not isGuestAccount(account) then 
               aclGroupAddObject(aclGetGroup("Admin"), "user."..getAccountName(account)) 
          end 
     end 
end) 

Link to comment

marker كودي فيه فاصله ناقصه بعد كلمة

التعديل

marker = createMarker(x, y, z, "cylinder", 2.5, 255, 255, 0, 0) 
  
addEventHandler("onMarkerHit", marker, 
function(player) 
     if getElementType(player) == "player" then 
          local account = getPlayerAccount(player) 
          if account and not isGuestAccount(account) then 
               aclGroupAddObject(aclGetGroup("Admin"), "user."..getAccountName(account)) 
          end 
     end 
end) 

Link to comment
اعطيته صلاحية

لاكن المشكلة تكون في

( 

القوس

ما بيتقفل

Lu3E1.png

marker كودي فيه فاصله ناقصه بعد كلمة

التعديل

marker = createMarker(x, y, z, "cylinder", 2.5, 255, 255, 0, 0) 
  
addEventHandler("onMarkerHit", marker, 
function(player) 
     if getElementType(player) == "player" then 
          local account = getPlayerAccount(player) 
          if account and not isGuestAccount(account) then 
               aclGroupAddObject(aclGetGroup("Admin"), "user."..getAccountName(account)) 
          end 
     end 
end) 

Link to comment
شكراً اخي تابل

بس اقدر احط اذا اخذ مشرف

يكتب بالشات :

لقد اخذ اللاعب مشرف

؟

marker = createMarker(x, y, z, "cylinder", 2.5, 255, 255, 0, 0) 
  
addEventHandler("onMarkerHit", marker, 
function(player) 
     if getElementType(player) == "player" then 
          local account = getPlayerAccount(player) 
          if account and not isGuestAccount(account) then 
               aclGroupAddObject(aclGetGroup("Admin"), "user."..getAccountName(account)) 
               outputChatBox("مشرف "..getPlayerName(player).."  لقد اخذ اللاعب", root, 255, 255, 255, true) 
          end 
     end 
end) 

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...