shwaeki Posted January 10, 2014 Share Posted January 10, 2014 السلام عليكم و رحمة الله و بركاتة انا مسوي لوحة و عليها زرار ابي اكواد يسوي تيم و لما اعص على الز يدخلني جوا التيم و يا ريت حد يشرحلي الاكولد Link to comment
K1NG Posted January 10, 2014 Share Posted January 10, 2014 Event: onClientGUIClick -- حدث : عند الضغط على الزر createTeam -- إنشاء فريق setPlayerTeam -- تحديد فريق اللاعب Link to comment
فاّرس Posted January 10, 2014 Share Posted January 10, 2014 + triggerServerEvent -- عشان تحط اللاعب داخل التيم لأن الكود سيرفر Link to comment
shwaeki Posted January 10, 2014 Author Share Posted January 10, 2014 مشكورين بس وش احط هون bool setPlayerTeam ( player thePlayer, team theTeam ) بدل هاي player thePlayer انا ابية يحط الاعب يلي عص Link to comment
فاّرس Posted January 10, 2014 Share Posted January 10, 2014 source يوم ترسل التريقر , تقدر تحط Link to comment
shwaeki Posted January 10, 2014 Author Share Posted January 10, 2014 اخي نسيت اسالك يعني يجي هيك setPlayerTeam (source,police ) ولا تقصد هيك triggerServerEvent("team1",source()) Link to comment
فاّرس Posted January 10, 2014 Share Posted January 10, 2014 هذا كلنت يوم يضغط الزر -- Client Side # triggerServerEvent('team1',localPlayer) وهذا بالسيرفر , local team = createTeam('Team1',0,255,0) addEvent('team1',true) addEventHandler('team1',root,function() setPlayerTeam(source,team) end ) Link to comment
al-Kobra Posted January 12, 2014 Share Posted January 12, 2014 هذا كلنت يوم يضغط الزر -- Client Side # triggerServerEvent('team1',localPlayer) وهذا بالسيرفر , local team = createTeam('Team1',0,255,0) addEvent('team1',true) addEventHandler('team1',root,function() setPlayerTeam(source,team) end ) وين function ? Link to comment
shwaeki Posted January 12, 2014 Author Share Posted January 12, 2014 local team = createTeam('Team1',0,255,0) addEvent('team1',true) addEventHandler('team1',root,function()--------- هيو setPlayerTeam(source,team) end ) Link to comment
al-Kobra Posted January 12, 2014 Share Posted January 12, 2014 local team = createTeam('Team1',0,255,0) addEvent('team1',true) addEventHandler('team1',root,function()--------- هيو setPlayerTeam(source,team) end ) مانتبهت له Link to comment
shwaeki Posted January 12, 2014 Author Share Posted January 12, 2014 ههههههههه عادي بصير 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