iPrestege Posted March 7, 2013 Share Posted March 7, 2013 (edited) addEventHandler("onPlayerJoin",root, -- الحدث عند دخول الاعب function () if (getPlayerName(source) == "Alnassre") then -- يبحث عن اسم الاعب اذا كان الناصري يسوي kickPlayer(source,"Alnassre?") -- طرد للاعب بـ سبب الناصري؟ end -- انهاء الـ if end -- انهاء الوظيفة ) -- اغلاق الفنكشن Edited March 7, 2013 by Guest Link to comment
jafar Posted March 7, 2013 Share Posted March 7, 2013 addEventHandler("onPlayerJoin",root, function () if (getPlayerName(source) == "Alnassre") then kickPlayer(source,"Alnassre?") end end) 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