ahmed1010 Posted April 20, 2014 Share Posted April 20, 2014 local playersGroups = {} addEventHandler ( "onColShapeHit", bom, function ( hitElement ) if ( getElementType ( hitElement ) == "player" ) then if ( getElementData ( hitElement, "gang" ) == "[MsN]" ) or ( getElementData ( hitElement, "gang" ) == "MsK" ) then playersGroups [ hitElement ] = getElementData ( hitElement, "gang" ) removeElementData ( hitElement, "gang" ) outputChatBox ( "#ff0000*#ffff00.:[ You can kill your Group members now ]:.", hitElement, 255, 255, 0, true ) end end end, false) addEventHandler ( "onColShapeLeave", bom, function ( leaveElement ) if ( getElementType ( leaveElement ) == "player" ) then if ( playersGroups [ leaveElement ] ) then setElementData ( leaveElement, "gang", playersGroups [ leaveElement ] ) playersGroups [ leaveElement ] = nil end end end, false ) addEventHandler ( "onPlayerQuit", root, function ( ) if ( playersGroups [ source ] ) then playersGroups [ source ] = nil end end ) هل ينفع هذا الكود يشتغل على الجروب سستم حق احمد فيف ؟ الكود وظيفته ان اعضاء الجروب يمديهم يقتلو بعض؟ Link to comment
Mr-M3AND Posted April 20, 2014 Share Posted April 20, 2014 local playersGroups = {} addEventHandler ( "onColShapeHit", bom, function ( hitElement ) if ( getElementType ( hitElement ) == "player" ) then if ( getElementData ( hitElement, "gang" ) == "[MsN]" ) or ( getElementData ( hitElement, "gang" ) == "MsK" ) then playersGroups [ hitElement ] = getElementData ( hitElement, "gang" ) removeElementData ( hitElement, "gang" ) outputChatBox ( "#ff0000*#ffff00.:[ You can kill your Group members now ]:.", hitElement, 255, 255, 0, true ) end end end, false) addEventHandler ( "onColShapeLeave", bom, function ( leaveElement ) if ( getElementType ( leaveElement ) == "player" ) then if ( playersGroups [ leaveElement ] ) then setElementData ( leaveElement, "gang", playersGroups [ leaveElement ] ) playersGroups [ leaveElement ] = nil end end end, false ) addEventHandler ( "onPlayerQuit", root, function ( ) if ( playersGroups [ source ] ) then playersGroups [ source ] = nil end end ) هل ينفع هذا الكود يشتغل على الجروب سستم حق احمد فيف ؟ الكود وظيفته ان اعضاء الجروب يمديهم يقتلو بعض؟ نعم يشتغل على القروب سيستم حق احمد فيف Link to comment
!#NssoR_) Posted April 20, 2014 Share Posted April 20, 2014 خخخخخ هذا الكود كودي ايام كنت بجراند العرب , كنت مسويه لـ مقر وحش و اس اس Link to comment
ahmed1010 Posted April 20, 2014 Author Share Posted April 20, 2014 خخخخخ هذا الكود كودي ايام كنت بجراند العرب , كنت مسويه لـ مقر وحش و اس اس ادرى انا ما قلت لك انا اللى مسويه اانا اسأل بس عن انه يشتغل ام لا رح اجربه و اقول لكم لو فيه مشكلة 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