mouamle Posted March 27, 2014 Share Posted March 27, 2014 السلام عليكم شباب عندي طلب أني سويت لوحة بال gui وسويت 3 أزرار وأبي كل زر يحرك اوبجكت معين وأبي اللوحة ما تفتح الى لتيم معين وهم أصحاب العصابة بأختصار سويت مقر وأبي اسويله باب محد يفتحه اله من العصابة مع السلامه و وشكورين مقدما Link to comment
!#NssoR_) Posted March 27, 2014 Share Posted March 27, 2014 *Event : onClientGUIClick getPlayerTeam -- يتحقق من تيم الاعب getTeamName -- اسم التيم moveObject -- يحرك البوابه createObject -- يسوي بوابة getElementData -- اذا تبيه لـ عصابة مو لـ تيم Link to comment
™!>VàLéNTiNô<!™ Posted April 7, 2014 Share Posted April 7, 2014 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
™!>VàLéNTiNô<!™ Posted April 7, 2014 Share Posted April 7, 2014 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
' ρяofзśŝoя 亗 Posted April 8, 2014 Share Posted April 8, 2014 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
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