Jump to content

طلب


Recommended Posts

السلام عليكم

شباب عندي طلب أني سويت لوحة بال

gui

وسويت 3 أزرار وأبي كل زر

يحرك اوبجكت معين

وأبي اللوحة ما تفتح الى لتيم معين

وهم أصحاب العصابة

بأختصار سويت مقر وأبي اسويله

باب محد يفتحه اله من

العصابة

مع السلامه

و

وشكورين مقدما

Link to comment
  • 2 weeks later...

Team = createTeam ( "Team", 0, 255, 0 ) 
allObjects = getElementsByType ( "object" ) 
  
addEventHandler("onClientGUIClick", resourceRoot, 
function (theObject) 
if ( source == Name ) then 
if ( getPlayerTeam ( source ) and getTeamName ( getPlayerTeam ( source ) ) == 'Team' ) then 
   createObject ( IDObject, 5540.6654, 1020.55122, 1240.545, 90, 0, 0 ) 
    local X, Y, Z = getElementPosition ( theObject ) 
        moveObject ( theObject, 1000, origX, origY, newZ ) 
        end 
    end 
end 
) 

جرب

Link to comment

Team = createTeam ( "Team", 0, 255, 0 ) 
allObjects = getElementsByType ( "object" ) 
  
addEventHandler("onClientGUIClick", resourceRoot, 
function (theObject) 
if ( source == Name ) then 
if ( getPlayerTeam ( source ) and getTeamName ( getPlayerTeam ( source ) ) == 'Team' ) then 
   createObject ( IDObject, 5540.6654, 1020.55122, 1240.545, 90, 0, 0 ) 
    local X, Y, Z = getElementPosition ( theObject ) 
        moveObject ( theObject, 1000, origX, origY, newZ ) 
        end 
    end 
end 
) 

جرب

Link to comment
Team = createTeam ( "Team", 0, 255, 0 ) 
allObjects = getElementsByType ( "object" ) 
  
addEventHandler("onClientGUIClick", resourceRoot, 
function (theObject) 
if ( source == Name ) then 
if ( getPlayerTeam ( source ) and getTeamName ( getPlayerTeam ( source ) ) == 'Team' ) then 
   createObject ( IDObject, 5540.6654, 1020.55122, 1240.545, 90, 0, 0 ) 
    local X, Y, Z = getElementPosition ( theObject ) 
        moveObject ( theObject, 1000, origX, origY, newZ ) 
        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...