ايهاب Posted September 2, 2020 Share Posted September 2, 2020 (edited) سلام عليكم اكتشفت السيرفر ان فريق الكريمنال ميقدروش يقتلوة بعض ان اليتمات كلها معمول لها تيم فريندلى فاير فامش عارف ازاى اشيل احدد ان تيم الكريمنال يقدرزو يقتلوة بعض اخلى اى اتنين فى تيم الكريمنال يقدروة يقتلوة بعض لان التيمات كلها معمول ليها تيم فريندلى فاير انا المساعدة عايزة ضرورى لانى فاتح السييرفر واتنين بيلعبوة قالولى منقدرش نقتل بعض الكود فى السطر الاخير وتحت منة اكواد ملهاش علاقة بى الفريندلى فاير Quote Teams = { { 'Grove Street' , 0, 128 , 0 , 'True' }, { 'Ballas' , 128, 0, 128 , 'True' }, { 'Vagos' , 255, 200, 0 , 'True' }, { 'Aztecas' , 0, 128, 255 , 'True' }, { 'Doctor' , 24, 198, 238 , 'True' }, { 'Police', 0, 0, 255 , 'True' }, { 'Criminal' , 255, 0, 0 , 'False' } } function OutPut ( aElement_ , aText_ ) exports['guimessages']:outputServer( aElement_, aText_ ) end executeSQLQuery ( 'CREATE TABLE IF NOT EXISTS aAccountss___ ( AccountName , AccountPassword , Serial , Year , Month , Day )' ) executeSQLQuery ( 'CREATE TABLE IF NOT EXISTS SaveMoney ( Accont, Money )' ) addEventHandler( 'onPlayerQuit', root, function( ) local Account = getPlayerAccount( source ) if ( Account and isGuestAccount( Account ) ) then local SQL = executeSQLQuery( 'SELECT * FROM SaveMoney WHERE Accont = ? ', getAccountName( Account ) ) if ( SQL ~= -1 ) then executeSQLQuery( 'UPDATE SaveMoney SET Money = ? WHERE Accont = ? ', getElementData( source, 'Money' ), getAccountName( Account ) ) else executeSQLQuery ( 'INSERT INTO SaveMoney VALUES ( ? , ? )', getAccountName( Account ), getElementData( source, 'Money' ) ) end end end ) for aTeams in ipairs ( Teams ) do aTeam_ = createTeam ( Teams[aTeams][1] , Teams[aTeams][2] , Teams[aTeams][3], Teams[aTeams][4] ) if ( Teams[aTeams][5] == 'True' ) then setTeamFriendlyFire ( aTeam_ , false ) end end Edited September 2, 2020 by ايهاب Link to comment
فاّرس Posted September 3, 2020 Share Posted September 3, 2020 (edited) .true وجيب التيم المطلوب وحط القيمة setTeamFriendlyFire استخدم Edited September 3, 2020 by فاّرس اضافة بسيطه. Link to comment
ايهاب Posted September 3, 2020 Author Share Posted September 3, 2020 6 hours ago, فاّرس said: .true وجيب التيم المطلوب وحط القيمة setTeamFriendlyFire استخدم la مش عارف اعملة Link to comment
فاّرس Posted September 3, 2020 Share Posted September 3, 2020 .في أول أرقيومنت, والثاني خليه ترو, بكل بساطه getTeamFromName المثال واضح جداً استخدم 1 Link to comment
ايهاب Posted September 3, 2020 Author Share Posted September 3, 2020 la مش عارف برضوة Link to comment
ايهاب Posted September 3, 2020 Author Share Posted September 3, 2020 الكواد الى عايزة يخلى الكريمنال يقدروة يقتلوة بعض من غير ما اعدل فى الاكواد الى حطتها Link to comment
ايهاب Posted September 3, 2020 Author Share Posted September 3, 2020 OGHW خلاص تم حل المشكلة Link to comment
ѕρєcιαℓ αgєηт Posted September 7, 2020 Share Posted September 7, 2020 Teams = { { 'Grove Street' , 0, 128 , 0 , 'True' }, { 'Ballas' , 128, 0, 128 , 'True' }, { 'Vagos' , 255, 200, 0 , 'True' }, { 'Aztecas' , 0, 128, 255 , 'True' }, { 'Doctor' , 24, 198, 238 , 'True' }, { 'Police', 0, 0, 255 , 'True' }, { 'Criminal' , 255, 0, 0 , 'False' } } function OutPut ( aElement_ , aText_ ) exports['guimessages']:outputServer( aElement_, aText_ ) end executeSQLQuery ( 'CREATE TABLE IF NOT EXISTS aAccountss___ ( AccountName , AccountPassword , Serial , Year , Month , Day )' ) executeSQLQuery ( 'CREATE TABLE IF NOT EXISTS SaveMoney ( Accont, Money )' ) addEventHandler( 'onPlayerQuit', root, function( ) local Account = getPlayerAccount( source ) if ( Account and isGuestAccount( Account ) ) then local SQL = executeSQLQuery( 'SELECT * FROM SaveMoney WHERE Accont = ? ', getAccountName( Account ) ) if ( SQL ~= -1 ) then executeSQLQuery( 'UPDATE SaveMoney SET Money = ? WHERE Accont = ? ', getElementData( source, 'Money' ), getAccountName( Account ) ) else executeSQLQuery ( 'INSERT INTO SaveMoney VALUES ( ? , ? )', getAccountName( Account ), getElementData( source, 'Money' ) ) end end end ) addEventHandler("onPlayerSpawn", root, function() local CriminalTeam = getTeamFromName("Criminal") if (CriminalTeam) then setTeamFriendlyFire(CriminalTeam, true) end end) for aTeams in ipairs ( Teams ) do aTeam_ = createTeam ( Teams[aTeams][1] , Teams[aTeams][2] , Teams[aTeams][3], Teams[aTeams][4] ) if ( Teams[aTeams][5] == 'True' ) then setTeamFriendlyFire ( aTeam_ , false ) end end 1 Link to comment
ايهاب Posted September 8, 2020 Author Share Posted September 8, 2020 On 07/09/2020 at 08:43, 1BenZemaaa_) said: Teams = { { 'Grove Street' , 0, 128 , 0 , 'True' }, { 'Ballas' , 128, 0, 128 , 'True' }, { 'Vagos' , 255, 200, 0 , 'True' }, { 'Aztecas' , 0, 128, 255 , 'True' }, { 'Doctor' , 24, 198, 238 , 'True' }, { 'Police', 0, 0, 255 , 'True' }, { 'Criminal' , 255, 0, 0 , 'False' } } function OutPut ( aElement_ , aText_ ) exports['guimessages']:outputServer( aElement_, aText_ ) end executeSQLQuery ( 'CREATE TABLE IF NOT EXISTS aAccountss___ ( AccountName , AccountPassword , Serial , Year , Month , Day )' ) executeSQLQuery ( 'CREATE TABLE IF NOT EXISTS SaveMoney ( Accont, Money )' ) addEventHandler( 'onPlayerQuit', root, function( ) local Account = getPlayerAccount( source ) if ( Account and isGuestAccount( Account ) ) then local SQL = executeSQLQuery( 'SELECT * FROM SaveMoney WHERE Accont = ? ', getAccountName( Account ) ) if ( SQL ~= -1 ) then executeSQLQuery( 'UPDATE SaveMoney SET Money = ? WHERE Accont = ? ', getElementData( source, 'Money' ), getAccountName( Account ) ) else executeSQLQuery ( 'INSERT INTO SaveMoney VALUES ( ? , ? )', getAccountName( Account ), getElementData( source, 'Money' ) ) end end end ) addEventHandler("onPlayerSpawn", root, function() local CriminalTeam = getTeamFromName("Criminal") if (CriminalTeam) then setTeamFriendlyFire(CriminalTeam, true) end end) for aTeams in ipairs ( Teams ) do aTeam_ = createTeam ( Teams[aTeams][1] , Teams[aTeams][2] , Teams[aTeams][3], Teams[aTeams][4] ) if ( Teams[aTeams][5] == 'True' ) then setTeamFriendlyFire ( aTeam_ , false ) end end اتصلحت المشكلة بسبب مود عندى صديقى حلها لكن لو رجعت تانى هستخدم الكود حقك وتسلم ي بنزيما 1 Link to comment
ѕρєcιαℓ αgєηт Posted September 8, 2020 Share Posted September 8, 2020 بالتوفيق ...# 1 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