#NaMrOo'D Posted July 3, 2017 Share Posted July 3, 2017 حل مشكله سطر 4 ارجوكم شباب # addEvent ('quitjop', true ) addEventHandler ('quitjop', root, function ( source, commandName ) local theTeam = getPlayerTeam ( source ) if theTeam then setPlayerTeam ( source, nil ) end end) Link to comment
1337.Ibrahim Posted July 3, 2017 Share Posted July 3, 2017 48 minutes ago, #NaMrOo'D said: حل مشكله سطر 4 ارجوكم شباب # addEvent ('quitjop', true ) addEventHandler ('quitjop', root, function ( source, commandName ) local theTeam = getPlayerTeam ( source ) if theTeam then setPlayerTeam ( source, nil ) end end) if getTeamName( getPlayerTeam(source) ) == "Police" then setPlayerTeam ( source, nil ) Link to comment
A7M8D Posted July 5, 2017 Share Posted July 5, 2017 @Talis مش محتاج تستخدم getTeamName عشان تجيب اسم التيم فنكشن getPlayerTeam هيجيب اسم التيم بتاع اللاعب الي موجود في الترايجر في الكلاينت Link to comment
iMr.WiFi..! Posted July 5, 2017 Share Posted July 5, 2017 14 minutes ago, #MR.NaiF said: @Talis مش محتاج تستخدم getTeamName عشان تجيب اسم التيم فنكشن getPlayerTeam هيجيب اسم التيم بتاع اللاعب الي موجود في الترايجر في الكلاينت X كوده صحيح الاستقبال نفسه فيه خطأ 2 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