Adham Posted April 17, 2016 Share Posted April 17, 2016 سلام عليكم شالمشكله اليوم لما اشغل المود ما يجي الكلام الكود addEventHandler("onResourceStart",root, function Strong (player) local Name = getPlayerName(player) outputChatBox ("[C.Console]: Chat has been disabled for 'Visitors by "..getPlayerName(source).." ", root,255,0,0,true) end ) Link to comment
Me[Z]oO Posted April 17, 2016 Share Posted April 17, 2016 addEventHandler("onResourceStart",root, function Strong () local Name = getPlayerName(source) outputChatBox ("[C.Console]: Chat has been disabled for 'Visitors by "..Name.." ", root,255,0,0,true) end ) Link to comment
Adham Posted April 17, 2016 Author Share Posted April 17, 2016 طيب الكود دا addEventHandler("onResourceStop",root, function () showChat(true) outputChatBox("[C.Console]: Chat has been unlocked by 'Console'.",root,255,255,0,true) end ) انا عاوز اقفل مود محدد Link to comment
Me[Z]oO Posted April 17, 2016 Share Posted April 17, 2016 addEventHandler("onResourceStop",root, function () showChat(source,false) outputChatBox("[C.Console]: Chat has been unlocked by 'Console'.",root,255,255,0,true) end ) Link to comment
Adham Posted April 17, 2016 Author Share Posted April 17, 2016 مب بيظهر الاسم كذا ملاحوظه دا في اول المود عشان لما افتحه يجي بالشات انا عاوز buy واسم الاعب outputChatBox ("[C.Console]: Chat has been disabled for 'Visitors by "..getPlayerName(source).." ", root,255,0,0,true) Link to comment
Adham Posted April 17, 2016 Author Share Posted April 17, 2016 انا عاوز يكون يجي "[C.Console]: Chat has been disabled for 'Visitors by واسم اللاعب جنب by الاكواد outputChatBox ("[C.Console]: Chat has been disabled for 'Visitors by "..getPlayerName(source).." ", root,255,0,0,true) عملتها كدا لا شعلاه Link to comment
Abdul KariM Posted April 17, 2016 Share Posted April 17, 2016 "onResourceStop" Source The source of this event is the root element in the resource that started. السورس حق الحدث , هو السكربت الي اشتغل كيف تجيب اسم الاعب من السكربت الي اشتغل ؟ Link to comment
Adham Posted April 17, 2016 Author Share Posted April 17, 2016 انت ما فهمني شف كدا عملته لما بفتحو ما يجي كلام addEventHandler("onResourceStart",root, function Strong (player) local Name = getPlayerName(player) outputChatBox ("[C.Console]: Chat has been disabled for 'Visitors by "..getPlayerName(source).." ", root,255,0,0,true) end ) Link to comment
MR.GRAND Posted April 17, 2016 Share Posted April 17, 2016 addEventHandler("onResourceStart",root, function Strong () local Name = getPlayerName(source) outputChatBox ("[C.Console]: Chat has been disabled for 'Visitors by "..Name.." ", root,255,0,0,true) end ) ابغى اعرف شغلة وش شعورك لما شفت اسم الحدث كيف رح يتعرف على اسم الاعب ؟ والسورس حقت الريسورس مو حقت الاعب ! هنا المصدر هو السكربت موب الاعب !!! Link to comment
Abdul KariM Posted April 17, 2016 Share Posted April 17, 2016 انت ما فهمنيشف كدا عملته لما بفتحو ما يجي كلام addEventHandler("onResourceStart",root, function Strong (player) local Name = getPlayerName(player) outputChatBox ("[C.Console]: Chat has been disabled for 'Visitors by "..getPlayerName(source).." ", root,255,0,0,true) end ) ماتقدر تجيب اسم الاعب , يمكن تقدر بالوب البارتمنز الاول هو السكربت الي اشتغل فقط Link to comment
nxFairlywell Posted April 17, 2016 Share Posted April 17, 2016 يبي يجيب اسم اللاعب اللي اشتغل عنده السكربت سويه كلنت ي بطل addEventHandler : "onClientResourceStart" getPlayerName( getLocalPlayer() ) 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