+Source|> Posted June 12, 2019 Share Posted June 12, 2019 setTimer ( function ( source ) if getElementData( source, "onMission" ) == true then if playersIntoMission < 1 then OutPut ( "✱⌠ ! لم تبدأ مهمة الركض لعدم توفر اللاعبين ⌡✱", root, 255, 0, 0, true ) killPed ( source ) setElementData( source, "onMission", false ) playersIntoMission = 0 MissionStart () return end end end, 3000, 1 ) المشكله Bad argument @ getElementData Link to comment
yasin0 Posted June 12, 2019 Share Posted June 12, 2019 setTimer ( function ( source ) if getElementData( source, "onMission" ) == true and playersIntoMission < 1 then OutPut ( "✱⌠ ! لم تبدأ مهمة الركض لعدم توفر اللاعبين ⌡✱", root, 255, 0, 0, true ) killPed ( source ) setElementData( source, "onMission", false ) playersIntoMission = 0 MissionStart () return end end end, 3000, 1 ) Link to comment
Hakan Posted June 13, 2019 Share Posted June 13, 2019 setTimer ( function ( source ) if getElementData( source, "onMission" ) == true then if playersIntoMission < 1 then OutPut ( "✱⌠ ! لم تبدأ مهمة الركض لعدم توفر اللاعبين ⌡✱", root, 255, 0, 0, true ) killPed ( source ) setElementData( source, "onMission", false ) playersIntoMission = 0 MissionStart () return end end end, 3000, 1 ,source) لو مـ اشتغل اطرح لنا الكود كامل 1 Link to comment
+Source|> Posted June 13, 2019 Author Share Posted June 13, 2019 11 hours ago, Hakan said: setTimer ( function ( source ) if getElementData( source, "onMission" ) == true then if playersIntoMission < 1 then OutPut ( "✱⌠ ! لم تبدأ مهمة الركض لعدم توفر اللاعبين ⌡✱", root, 255, 0, 0, true ) killPed ( source ) setElementData( source, "onMission", false ) playersIntoMission = 0 MissionStart () return end end end, 3000, 1 ,source) لو مـ اشتغل اطرح لنا الكود كامل شكرا لك اشتغل 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