TD[M]ER Posted December 13, 2012 Share Posted December 13, 2012 السلام عليكم ورحمةة اللهه وبركاتهه setPlayerTeam حاولت اسوي ذا الكود عبر ترايقر بين الكلنت والسيرفر وماظبط --- server side function createTeamsOnStart () team = createTeam ( "team1", 0, 255, 0 ) end addEventHandler("onResourceStart", resourceRoot, createTeamsOnStart) addEvent("setTeam",true) addEventHandler("setTeam",root, function(player) if team then setPlayerTeam ( player,team ) end end) Link to comment
==>ҭᾄlᾄl Posted December 13, 2012 Share Posted December 13, 2012 --- server side function createTeamsOnStart () team = createTeam ( "team1", 0, 255, 0 ) end addEventHandler("onResourceStart", resourceRoot, createTeamsOnStart) addEvent("setTeam",true) addEventHandler("setTeam",root, function() setPlayerTeam ( source,team ) end) Link to comment
TD[M]ER Posted December 13, 2012 Author Share Posted December 13, 2012 --- server side function createTeamsOnStart () team = createTeam ( "team1", 0, 255, 0 ) end addEventHandler("onResourceStart", resourceRoot, createTeamsOnStart) addEvent("setTeam",true) addEventHandler("setTeam",root, function() setPlayerTeam ( source,team ) end) يسسسسلموو والله ي طلال دايم انت الاول فـ الافادهـ يعطيكـ ربي الف عافيهه =] ماقصرت واللهه Link to comment
==>ҭᾄlᾄl Posted December 13, 2012 Share Posted December 13, 2012 --- server side function createTeamsOnStart () team = createTeam ( "team1", 0, 255, 0 ) end addEventHandler("onResourceStart", resourceRoot, createTeamsOnStart) addEvent("setTeam",true) addEventHandler("setTeam",root, function() setPlayerTeam ( source,team ) 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