Stranger Posted May 26, 2013 Share Posted May 26, 2013 السلام عليكم يا شباب لاهنتو ممكن تعدلو لي الكود هذا ا Team2 = createTeam ( "Player", 0, 255, 0 ) addEventHandler ( "onPlayerJoin", root, function ( Account ) if isObjectInACLGroup("user."..accName, aclGetGroup("Everyone")) then setPlayerTeam( source, Team2 ) end end ) Link to comment
S4MuEL Posted May 26, 2013 Share Posted May 26, 2013 local Team2 = createTeam ( "Player", 0, 255, 0 ) addEventHandler ( "onPlayerJoin", root, function ( player ) if getElementType(player)=="player" then setPlayerTeam(player,Team2) end end ) ججرب , ! Link to comment
MR.S3D Posted May 26, 2013 Share Posted May 26, 2013 local Team2 = createTeam ( "Player", 0, 255, 0 ) addEventHandler ( "onPlayerJoin", root, function ( player ) if getElementType(player)=="player" then setPlayerTeam(player,Team2) end end ) ججرب , ! أخوي حدث onPlayerJoin معرف له source تلقائي --The source of this event is the player who joined. local Team2 = createTeam ( "Player", 0, 255, 0 ) addEventHandler ( "onPlayerJoin", root, function () setPlayerTeam(source,Team2) end ) Link to comment
S4MuEL Posted May 26, 2013 Share Posted May 26, 2013 حسبت بآلويكي يقول لي آلـ سورس هو آلآعب .. فحططيت لآععب لول .. Link to comment
AhmeD~9MoD Posted May 27, 2013 Share Posted May 27, 2013 Server Side ! addEventHandler("onResourceStart",resourceRoot, function () local Team2 = createTeam ( "Player", 0, 255, 0 ) end ) addEventHandler ( "onPlayerJoin", root, function () setPlayerTeam(source,Team2) end ) Link to comment
MR.S3D Posted May 27, 2013 Share Posted May 27, 2013 Server Side ! addEventHandler("onResourceStart",resourceRoot, function () local Team2 = createTeam ( "Player", 0, 255, 0 ) end ) addEventHandler ( "onPlayerJoin", root, function () setPlayerTeam(source,Team2) end ) كودك غلط + ماتشوف ردي Link to comment
AhmeD~9MoD Posted May 27, 2013 Share Posted May 27, 2013 Server Side ! addEventHandler("onResourceStart",resourceRoot, function () local Team2 = createTeam ( "Player", 0, 255, 0 ) end ) addEventHandler ( "onPlayerJoin", root, function () setPlayerTeam(source,Team2) end ) كودك غلط + ماتشوف ردي مانتبهت Link to comment
Tete omar Posted May 27, 2013 Share Posted May 27, 2013 ACL ابي اعرف ليش تتحقق من ان اللاعب في قروب في Link to comment
AhmeD~9MoD Posted May 27, 2013 Share Posted May 27, 2013 ACL ابي اعرف ليش تتحقق من ان اللاعب في قروب في يمكن مسوي فريق للادمنية Link to comment
jafar Posted May 27, 2013 Share Posted May 27, 2013 ACL ابي اعرف ليش تتحقق من ان اللاعب في قروب في يمكن مسوي فريق للادمنية if isObjectInACLGroup("user."..accName, aclGetGroup("Everyone")) then بالله ذا قروب للأدمنية ؟ Link to comment
AhmeD~9MoD Posted May 27, 2013 Share Posted May 27, 2013 ACL ابي اعرف ليش تتحقق من ان اللاعب في قروب في يمكن مسوي فريق للادمنية if isObjectInACLGroup("user."..accName, aclGetGroup("Everyone")) then بالله ذا قروب للأدمنية ؟ اوه افكر admin Link to comment
Stranger Posted May 27, 2013 Author Share Posted May 27, 2013 local Team2 = createTeam ( "Player", 0, 255, 0 ) addEventHandler ( "onPlayerJoin", root, function () setPlayerTeam(source,Team2) 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