αвυ-wαleed Posted March 23, 2014 Share Posted March 23, 2014 السلام عليكم ورحمة الله وبركاته ابغى اطلع في صندوق المحادثة كلام بس ما ابغى الكل يشوفة ولا ابغى تيم محدد يشوفة ابغى قروب حدد بس اللي يشوف الكلام ملاحظة gang مو Gruop Link to comment
iPrestege Posted March 23, 2014 Share Posted March 23, 2014 تستخدم مود Castillo / SolidSnake14? Link to comment
xFace[B]ook Posted March 23, 2014 Share Posted March 23, 2014 خذ الكود من قروب سيستيم حق العقرب ذذ او اذا تبي بنفسك تسويه bindKey outputChatBox getElementData Link to comment
al-Kobra Posted March 23, 2014 Share Posted March 23, 2014 خذ الكود من قروب سيستيم حق العقرب ذذاو اذا تبي بنفسك تسويه bindKey outputChatBox getElementData + table.concat Link to comment
jafar Posted March 23, 2014 Share Posted March 23, 2014 function aGangChat ( aPlayer, _, ... ) local pGang = getElementData ( aPlayer, "gang" ); local pName = getPlayerName ( aPlayer ); local aText = table.concat ( { ... }, " " ); if pGang ~= "N/A" and aText ~= "" then for _, v in ipairs ( getElementsByType ( "player" ) ) do local vGang = getElementData ( v, "gang" ); if vGang == pGang then outputChatBox ( "(" .. pGang .. " Chat): " .. pName .. ": #FFFFFF " .. aText, v, 255, 255, 255, true ); end end end end addCommandHandler ( "GangChat", aGangChat ); addEventHandler ( "onResourceStart", resourceRoot, function ( ) for _, v in ipairs ( getElementsByType ( "player" ) ) do bindKey ( v, "i", "down", "chatbox", "GangChat" ); end end ); addEventHandler ( "onPlayerJoin", root, function ( ) bindKey ( source, "i", "down", "chatbox", "GangChat" ); 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