AmOt,7bk Posted February 25, 2014 Share Posted February 25, 2014 شوفو اغلاط اذا تقدرو تصلحوهم addEventHandler ( "onClientGUIClick", resourceRoot, function( ) if ( source == GUIEditor.button[3]) then triggerServerEvent ( "SetPTeam", localPlayer ) end end ) -- Server local team = createTeam( "team1", 0, 255, 0 ) addEvent( "SetPTeam", true ) addEventHandler( "SetPTeam", root, function( ) setPlayerTeam( client, team ) giveWeapon( client, 31, 500 ) end ) addEventHandler ( "onClientPlayerDamage", localPlayer, function( attacker ) if ( attacker and attacker ~= source ) then if ( getPlayerTeam( attacker ) and getPlayerTeam( attacker ) == getTeamFromName( "TeamName" ) ) then if ( getPlayerTeam( source ) ) then setElementPosition( source, x, y, z ) end end end end ) Link to comment
AmOt,7bk Posted February 25, 2014 Author Share Posted February 25, 2014 لما يكبس زر ويحطه بتيم اذا قتل يحط الي مقتول بمكان Link to comment
al-Kobra Posted February 25, 2014 Share Posted February 25, 2014 اذا هو مات لو يقتل ؟ Link to comment
AmOt,7bk Posted February 25, 2014 Author Share Posted February 25, 2014 مدري مثل وظيفه قاتل الي اخد تيم وقتل حد يروح المقتول مكان معين Link to comment
al-Kobra Posted February 25, 2014 Share Posted February 25, 2014 اسمع ,, تبغي اذا مات لو تصاوب ؟ Link to comment
AmOt,7bk Posted February 25, 2014 Author Share Posted February 25, 2014 بل تفصيل يكبس زر ويوخد وظيفه ويحطه بتيم وادا قتل حد ..،، Link to comment
xFace[B]ook Posted February 25, 2014 Share Posted February 25, 2014 تم التبليغ ! , جامر Link to comment
al-Kobra Posted February 25, 2014 Share Posted February 25, 2014 #Client Side : addEventHandler ( "onClientGUIClick", GUIEditor.button[3], function( ) local aa = getPlayerName ( getLocalPlayer ( ) ) setElementData ( getLocalPlayer ( ), "haha", aa, true ) triggerServerEvent ( "SetPTeam", localPlayer ) end end ) #Server Side : local team = createTeam( "team1", 0, 255, 0 ) addEvent( "SetPTeam", true ) addEventHandler( "SetPTeam", root, function( ) setPlayerTeam( source, team ) giveWeapon( source, 31, 500 ) end ) addEventHandler ( "onPlayerDamage", root, function( attacker, weapon ) if getElementData ( source, "haha" ) == true and attacker and attacker ~= source and getPlayerTeam( attacker ) and weapon == رقم السلاح and getTeamName ( getPlayerTeam ( source ) ) == "team" and getPlayerTeam ( attacker ) ~= getPlayerTeam ( source ) and getElementHealth ( attacker ) == 0 then setElementPosition( attacker, x, y, z ) end end ) جرب , Link to comment
ΞĪŚŚÀ Posted February 25, 2014 Share Posted February 25, 2014 This Big Noop = GaMer Baby انتحر ياولد فكنا تراكك غثيث مسوي مبرمج وكل اشوي ماأخذ اكواد من مودات الا تبي تسوي منهم مود ثاني ؟ وماتطفش كل اشوي عضوية والله حتى تيتي طفش منك Link to comment
AmOt,7bk Posted February 25, 2014 Author Share Posted February 25, 2014 كوبرا يسلمو مع احترامي لك :* كود شغال بس في مشكله صغيره Link to comment
فاّرس Posted February 25, 2014 Share Posted February 25, 2014 المفروض الكوبرا يعاقب او بالاصح يآخذ انذار لأنه تيتي قال لا تردون عليه ! Link to comment
AmOt,7bk Posted February 25, 2014 Author Share Posted February 25, 2014 المفروض الكوبرا يعاقب او بالاصح يآخذ انذار لأنه تيتي قال لا تردون عليه ! باندي نفكك يوم من القناه Link to comment
Recommended Posts