Jump to content

تعديل علي اكود


Ahmed Ly

Recommended Posts

السلام عليكم

انا صنعت المود هدا لم تكتب فياف8 يصنع لك ماركه بس نبيه لي ادمنيه بس مو عصابة قوست

function  e ( player ) 
x,y,z = getElementPosition (thePlayer) 
local marker = createMarker (x,y,z, "cylinder", 2, 77 , 99, 31, 224) 
if getElementType ( player ) == "player" then 
if getElementData( player ,'NameGroup') == 'GhosT' then 
   setElementHealth ( player, 100 ) 
   setPedArmor ( player, 100 ) 
   setPedSkin ( player, 230 ) 
  else 
   outputChatBox ( "يجب ان تكون فى عصابه GhosT", player, 244 , 87, 10, true ) 
end 
end 
end 
addEventHandler ( "onMarkerHit", marker,e,root) 
addCommandHandler ("marker",e) 

:D:D:D

Link to comment
function  e ( player ) 
    x,y,z = getElementPosition (thePlayer) 
    local marker = createMarker (x,y,z, "cylinder", 2, 77 , 99, 31, 224) 
    if getElementType ( player ) == "player" then 
    local Acc_Name = getAccountName ( getPlayerAccount ( source ))  
    if isObjectInACLGroup ("user."..Acc_Name, aclGetGroup ( "Console" ) ) then 
       setElementHealth ( player, 100 ) 
       setPedArmor ( player, 100 ) 
       setPedSkin ( player, 230 ) 
      else 
       outputChatBox ( "Only The Console", player, 244 , 87, 10, true ) 
    end 
    end 
    end 
    addEventHandler ( "onMarkerHit", marker,e,root) 
    addCommandHandler ("marker",e) 

غيير مجرب , بالتوفيق , :D:)

Link to comment

function  e ( player,cmd) 
local x, y, z = getElementPosition (player) -- get the player's position 
local marker = createMarker (x + 2, y + 2, z, "cylinder", 2.5, 255 ,0,0, 224 ) 
addEventHandler ( "onMarkerHit",marker,hit) 
end 
addCommandHandler ("marker",e) 
----- 
function hit( player ) 
if getElementType ( player ) == "player" then 
local acc = getAccountName (getPlayerAccount(player) )  
if isObjectInACLGroup ("user."..acc, aclGetGroup ('Admin') ) then 
setElementHealth ( player, 100 ) 
setPedArmor ( player, 100 ) 
setPedSkin ( player, 230 ) 
outputChatBox ( "تم", player, 244 , 87, 10, true ) 
else 
outputChatBox ( "انت لست ادمن", player, 244 , 87, 10, true ) 
end 
end 
end 
Link to comment
function  e ( player,cmd) 
local x, y, z = getElementPosition (player) -- get the player's position 
local marker = createMarker (x + 2, y + 2, z, "cylinder", 2.5, 255 ,0,0, 224 ) 
addEventHandler ( "onMarkerHit",marker,hit) 
end 
addCommandHandler ("marker",e) 
----- 
function hit( player ) 
if getElementType ( player ) == "player" then 
local acc = getAccountName (getPlayerAccount(player) )  
if isObjectInACLGroup ("user."..acc, aclGetGroup ('Admin') ) then 
setElementHealth ( player, 100 ) 
setPedArmor ( player, 100 ) 
setPedSkin ( player, 230 ) 
outputChatBox ( "تم", player, 244 , 87, 10, true ) 
else 
outputChatBox ( "انت لست ادمن", player, 244 , 87, 10, true ) 
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...