#_MR.MoSHaKS Posted April 18, 2013 Share Posted April 18, 2013 السلام عليكم استفسار عن كود في بعض السيرفرات الي يدخل وعنده تحميل يطلع قبل اسمه Download وبعدين لما يخلص تحميله يطلع قبل اسمه الي انا اختاره من التاج هدا كود ولا من نفس التاج ؟ Link to comment
iPrestege Posted April 18, 2013 Share Posted April 18, 2013 تسوي تيم وتحطة فية وتسوي تعديل على التاج Link to comment
#_MR.MoSHaKS Posted April 18, 2013 Author Share Posted April 18, 2013 تسوي تيم وتحطة فية وتسوي تعديل على التاج طيب انا لما اسوي تيم واحطه فيه واسوي تاج لما يخلص تحميله يرجع حاله حال الزائر العادي يعني Link to comment
iPrestege Posted April 18, 2013 Share Posted April 18, 2013 تسوي onClientResourceStart then triggerServerEvent then setPlayerTeam To nil Team . Link to comment
PaiN^ Posted April 18, 2013 Share Posted April 18, 2013 تسوي onClientResourceStart then triggerServerEvent then setPlayerTeam To nil Team . + قبل كل هذا onPlayerJoin then setPlayerTeam Link to comment
iPrestege Posted April 18, 2013 Share Posted April 18, 2013 تسوي onClientResourceStart then triggerServerEvent then setPlayerTeam To nil Team . + قبل كل هذا onPlayerJoin then setPlayerTeam لو تلاحظ قلتها بـ الرد الاول ^ Link to comment
#_MR.MoSHaKS Posted April 18, 2013 Author Share Posted April 18, 2013 طيب ممكن مثال للتوضيح Link to comment
iPrestege Posted April 18, 2013 Share Posted April 18, 2013 Use ; createTeam setPlayerTeam triggerServerEvent outputChatBox cancelEvent "onPlayerChat" "onClientResourceStart" Link to comment
#_MR.MoSHaKS Posted April 18, 2013 Author Share Posted April 18, 2013 Use ; createTeam setPlayerTeam triggerServerEvent outputChatBox cancelEvent "onPlayerChat" "onClientResourceStart" جربتها بس ماعرفت لها Link to comment
#_MR.MoSHaKS Posted April 18, 2013 Author Share Posted April 18, 2013 وين تجربتكـ <@> function assignNewTeam ( source, commandName, teamName ) local theTeam = createTeam ( D ) -- create a new team with the specified name if theTeam then -- if it was successfully created setPlayerTeam ( source, theTeam ) -- add the player to the new team end end addCommandHandler ( "gimmeateam", assignNewTeam ) function unassignTeam ( source, commandName ) local theTeam = getPlayerTeam ( source ) -- Check if the player is on a team if theTeam then -- this player is on a team, so we can remove them from it setPlayerTeam ( source, nil ) -- remove the player from the current team end end addCommandHandler ( "takeawaymyteam", unassignTeam ) Link to comment
فاّرس Posted April 18, 2013 Share Posted April 18, 2013 وين تجربتكـ <@> function assignNewTeam ( source, commandName, teamName ) local theTeam = createTeam ( D ) -- create a new team with the specified name if theTeam then -- if it was successfully created setPlayerTeam ( source, theTeam ) -- add the player to the new team end end addCommandHandler ( "gimmeateam", assignNewTeam ) function unassignTeam ( source, commandName ) local theTeam = getPlayerTeam ( source ) -- Check if the player is on a team if theTeam then -- this player is on a team, so we can remove them from it setPlayerTeam ( source, nil ) -- remove the player from the current team end end addCommandHandler ( "takeawaymyteam", unassignTeam ) كوبي = بست Link to comment
#_MR.MoSHaKS Posted April 18, 2013 Author Share Posted April 18, 2013 وين تجربتكـ <@> function assignNewTeam ( source, commandName, teamName ) local theTeam = createTeam ( D ) -- create a new team with the specified name if theTeam then -- if it was successfully created setPlayerTeam ( source, theTeam ) -- add the player to the new team end end addCommandHandler ( "gimmeateam", assignNewTeam ) function unassignTeam ( source, commandName ) local theTeam = getPlayerTeam ( source ) -- Check if the player is on a team if theTeam then -- this player is on a team, so we can remove them from it setPlayerTeam ( source, nil ) -- remove the player from the current team end end addCommandHandler ( "takeawaymyteam", unassignTeam ) كوبي = بست هدا من الويكي Link to comment
فاّرس Posted April 18, 2013 Share Posted April 18, 2013 ^ آيه عآرف,, + لا تآخذ المثآل اقرأ Syntax + Required Arguments Link to comment
iMr.Dawix~# Posted April 18, 2013 Share Posted April 18, 2013 هذي مو تجربه انت تبيه جاهز لآزم تحاول وافضل انك ما تقلد سيرفرات :] Link to comment
][sojn][ Posted April 18, 2013 Share Posted April 18, 2013 هو يقصد زي محترفين جراند امم على ما اعتقد هذا من ضمن القيم مود ><" Link to comment
yazan Posted April 18, 2013 Share Posted April 18, 2013 في طريقه حلوه انك تعمل مود كلنت و تعمل تريقر اذا شتغل الكلنت يوقف سيرفر يعني اعمل اي مود كلنت يكون مثل الفري روم يطول لين يخلص تحميله يكون اخر شي و ضيف له سيرفر سيرفر بيكون فيه اذا دخل لاعب يخذ تاج و اذا شتغل الاكلنت يلغي الوضيفه كذا بيكون اسهل لك بتستخدم ذولي onPlayerJoin onClientResourceStart triggerServerEvent cancelEvent مع التاج Link to comment
#_MR.MoSHaKS Posted April 19, 2013 Author Share Posted April 19, 2013 طيب حطها بصيغة lua علشان ادخل عليها واعرف وظائفها Link to comment
HsSoN Posted April 19, 2013 Share Posted April 19, 2013 onPlayerJoin onClientResourceStart triggerServerEvent cancelEvent Link to comment
yazan Posted April 19, 2013 Share Posted April 19, 2013 لمن يشتغل المود يطلع صوت و يخليك في تيم المخلص تحميله حط صوت يلي تبيه لمن يشتغل المود Client: -- مخالف Server: -- مخالف 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