#NaMrOo'D Posted July 3, 2017 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)
1337.Ibrahim Posted July 3, 2017 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 )
A7M8D Posted July 5, 2017 Posted July 5, 2017 @Talis مش محتاج تستخدم getTeamName عشان تجيب اسم التيم فنكشن getPlayerTeam هيجيب اسم التيم بتاع اللاعب الي موجود في الترايجر في الكلاينت I couldn't wait for success, so I went ahead without it.
iMr.WiFi..! Posted July 5, 2017 Posted July 5, 2017 14 minutes ago, #MR.NaiF said: @Talis مش محتاج تستخدم getTeamName عشان تجيب اسم التيم فنكشن getPlayerTeam هيجيب اسم التيم بتاع اللاعب الي موجود في الترايجر في الكلاينت X كوده صحيح الاستقبال نفسه فيه خطأ 2 Experienced MTA developer for 4 years. | MTA خبرة 4 سنين في برمجة ليس عليك اسعاد الجميع , ولكن عليك بإن لا تؤذي أحداً =========You do not have to make everyone happy, But you should not hurt anyone Want to contact with me? Discord: JustCarry#2616 (Always there)Skype: Live:JustCarry10 (Not always)
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