saitama Posted July 4, 2016 Share Posted July 4, 2016 شباب انا مبتدئ برمجة ف حبيت اسوي مود بسيط لما تسجل دخولك تظهر لك رسالة انك سجلت دخولك بس لما سويت لما تسجل خروجك تطلع لي مشكلة هي Error:loading script faild: money\test.lua 9: ') expcted (to close '(' at line near "end Link to comment
#|_oskar_|# Posted July 4, 2016 Share Posted July 4, 2016 عند تسجيل الدخول استخدم onPlayerLogin وعند تسجيل الخروج استخدم onPlayerLogout Link to comment
|Mr|-Talal07-| Posted July 4, 2016 Share Posted July 4, 2016 حط الكود عشان نصلحه لك ان شاء الله Link to comment
saitama Posted July 4, 2016 Author Share Posted July 4, 2016 تم حل المشكلة شكرا لجميع من ساعدني Link to comment
Adham Posted July 4, 2016 Share Posted July 4, 2016 (edited) تفضل مثال اذا دخل السرفر يجي له رسالة بالشات ولما تخرج : function Ex () -- وظيفه outputChatBox(" * Welcome To Server Please login",source ) -- الكلمه الذي تجيبك لما تخش end addEventHandler( "onPlayerJoin",root,Ex ) -- حدث اول م تخش function quit ( ) outputChatBox( "You have successfully logged out!", source )-- لين تخرج من حسابك end addEventHandler("onPlayerLogout",root,quit ) -- حدث الخروج Edited July 4, 2016 by Guest 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