yasin0 Posted May 31, 2017 Share Posted May 31, 2017 السلام عليكم شباب ابي لو واحد كتب اوامر مثلا يطلع بالشات الامر الي كتبه ابغى الوضائف وبحاول اسويه Link to comment
Abdul KariM Posted May 31, 2017 Share Posted May 31, 2017 "onPlayerCommand" outputChatBox Link to comment
yasin0 Posted May 31, 2017 Author Share Posted May 31, 2017 ماضبط local aCommand = {} addEventHandler("onPlayerCommand",root,function (aCommand) if aCommand[source] == kill then exports["notices"]:addNotification (root, "Its Command "getPlayerName(source)""..aCommand.. "", "error" ) end end); Link to comment
Mhmd.z Posted May 31, 2017 Share Posted May 31, 2017 هذا مثال لو الاعب كتب امر كومند addEventHandler("onPlayerCommand",root,function (aCommand) if aCommand == "command" then exports["notices"]:addNotification (root, "Its Command " .. getPlayerName(source) .. "" ..aCommand.. "", "error" ) end end ) Link to comment
yasin0 Posted May 31, 2017 Author Share Posted May 31, 2017 مشكور ع المثال سويتها بالجداول افضل 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