Sfa7 Posted February 14, 2013 Author Share Posted February 14, 2013 (edited) تمت الافاده Edited February 14, 2013 by Guest Link to comment
TAPL Posted February 14, 2013 Share Posted February 14, 2013 -- Server Side (not tested) addEventHandler("onPlayerQuit", root, function() local account = getPlayerAccount(source) if account and not isGuestAccount(account) then local team = getPlayerTeam(source) if team then setAccountData(account, "Team", getTeamName(team)) end end end) addEventHandler("onPlayerLogin", root, function(_, account) local team = getAccountData(account, "Team") if team then local team = getTeamFromName(team) if not team then local team = createTeam(getAccountData(account, "Team"), 0, 0, 255) end setPlayerTeam(source, team) end end) Link to comment
Sfa7 Posted February 14, 2013 Author Share Posted February 14, 2013 يعطيك الف عااافيه ي الغالي بس بسالك هذا الكود كل واحد كان بـ تيم وخرج ودخل من السيرفر يرجعه التيم الي كان فيه ؟ Link to comment
Sfa7 Posted February 14, 2013 Author Share Posted February 14, 2013 اهاا اوكي يعطيك العافيه + تعبتك معي Link to comment
yazan Posted February 15, 2013 Share Posted February 15, 2013 اخوي طيب ليه في كل موضع لك لين تخلص و تخد الودك ياه تكتب تم الافاده و تمسح نص طلب في غيرك يبون يدورن علي شي و يمكن يكون مذكور في طلب لو شفون مكان طلب تم الافاده ما بيعرفون ليه الكودات المطروحها ارجو عدمم تكرا الموضع و تابل حضرك فيه 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