Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 22/11/16 in Posts

  1. اسلوبك بالكلام مستفز, وتبي المود قبل الدفع وكل الي بتدفعه 5 دولار وبعدين وش ذا المود الي اسمه اف1 , اشرح وش تبي بالمود وايش مواصفاته وغير كذا اتفه مود المبرمج ياخذ عليه اذ مره كان طيب 20 دولارو ولا حول 14 دولار يعني 50 ريال سعودي .
    4 points
  2. تبي أحد يتعب ويشتغل ويبرمج لك أف 1 كامل ويسلمك هو قبل الدفع ؟
    3 points
  3. السلام عليكم ورحمه الله وبركاته اول مونتاج لي في القناه رأيكم وشكرا حبيبك :] ادعمني بلايك واشتراك وشوف المونتاج
    2 points
  4. باول حاول تعدل اسلوبك بـ كلام لنك قاعد تكلم شخص مثلك .. مو تكلم لك حيوان .. ثاني شي ما اتوقع فيه مبرمج بـ يبرمج لك و يسلم لك مودات او مابات الخ بدون ما تدفع له اول شي .. اوك تقولي سمعتي معروفة و الخ حتا لو تكون وشو محد يوثق فيك .. يمديك مثلا تكتب لـ ضمان حقي و حقك افتح سيرفر و خلني ادخل اجرب مود مثلا .. تدخل انت و تجرب مود عجبك تدفع له و يسلمه لك .. ما عجبك تروح تدور غيره اما عطني ثم اعطيك خلها لك .. ثاني شي 5 دولار ؟ هذي تجيب لك ماب الدائري ههههههههههههه ^^^سويت لي عروض وخصم وهدايا بتصير مبرمج سيرفري وبيصير لك فلوسك الي تجيك كل شهر على الشغل الي تسويه لي^^^ اي عروض يا رجال وهي 5 دولار يعني بقولك دولار برمج لك و يسوي لك هداية بعد .. حلمك كبير .. لاكن الله يوفقك ان شاء الله .. بتوفيق لك اخوك سعد الغامدي ..
    2 points
  5. In race_server.lua delete ------------------------ -- Script integrity test g_IntegrityFailCount = 0 TimerManager.createTimerFor("raceresource","integrity"):setTimer( function () local fail = false -- Make sure all vehicles are valid - Invalid vehicles really mess up the race script for player,vehicle in pairs(g_Vehicles) do if not isElement(vehicle) then fail = true outputRace( "Race integrity test fail: Invalid vehicle for player " .. tostring(getPlayerName(player)) ) kickPlayer( player, nil, "Connection terminated to protect the core" ) end end -- Increment or reset fail counter g_IntegrityFailCount = fail and g_IntegrityFailCount + 1 or 0 -- Two fails in a row triggers a script restart if g_IntegrityFailCount > 1 then outputRace( "Race script integrity compromised - Restarting" ) exports.mapmanager:changeGamemode( getResourceFromName('race') ) end end, 1000,0 ) In race_client.lua delete ------------------------ -- Script integrity test setTimer( function () if g_Vehicle and not isElement(g_Vehicle) then outputChatBox( "Race integrity test fail (client): Your vehicle has been destroyed. Please panic." ) end end, 1000,0 )
    2 points
  6. عليكم السلام جيب داتا الاعب ونقص منها عدد الساعات الباقي له مثلا عنده 36 ساعه وتبي تعرف كم باقي له عشان يوصل 100 Data - 100 وبكذا تقدر تجيبها انا من الجوال الان ولا عطيتك مثال
    2 points
  7. Buenas. Hoy, les traigo un mini-aporte. Digo mini, porque tampoco es la gran cosa (creo yo). Definicion: Un Panel de Ingreso y creacion de cuentas totalmente realizado con funciones dx. Basico, sencillo y facil de entender. El mismo lo hice para un SpeedWork a peticion de como hacer un panel dx. Caracteristicas: Realizado con dx puro Adaptable a todas las pantallas Totalmente en español Codigo.. ¿sencillo? no se como definir "dificil", "optimizado" o "facil" en el codigo, solo es codigo y ya :'v Precio: Ninguno, It's Free seria ridiculo vender un login tan sencillo de hacer No tengo imagenes para mostrar, pero les dejo aqui el SpeedWork de donde realice el dichoso panel y su funcionalidad. ((se que en el SpeedWork se ven algunos errores de codificaciones, mas que todo en eventos y triggers. Pero los arregle detras de camara o al final :'v)) Video: Click aqui para descargar! ¡RECUERDA! Para que el script funcione, debes colocar en consola lo siguiente: aclrequest allow sergioksrgc_dxlogin all Lo digo, para no dar malos entendidos despues. Bueno ahora si, espero les guste. Si encuentran algun bug o algo, avisadme y lo actualizo.
    1 point
  8. يب يعطيك العافيه اخوي @Mr.CoR
    1 point
  9. 1 point
  10. This problem usually happens on old MTA maps that have been converted to the current format. Some converts just skip the 'rotation' property of spawnpoints that had the rotation of 0... IMO the best way to fix this i to find the line in race_server.lua vehicle = createVehicle(spawnpoint.vehicle, x, y, z, 0, 0, spawnpoint.rotation, plate:sub(1, 8)) and add this just before that line: if not spawnpoint.rotation then spawnpoint.rotation = 0 end
    1 point
  11. dbQuery( function(qh) local result = dbPoll( qh, 0 ) if(result and #result > 0) then outputChatBox("Found") else outputChatBox("Not found") end end,connection, "SELECT id FROM players where username= ? LIMIT 1", username )
    1 point
  12. You can use isTimer to check if the timer exists or no and set the timer again something like this : if not isTimer ( aMyTimer ) then aMyTimer = setTimer( function theFunction, int timeInterval, int timesToExecute, [ var arguments... ] ) end
    1 point
  13. تبي فري روم كامل جديد بـ 5$ ? -_-" اساساً شغله طويل وعن نفسي انا مستحيل اسوية بهالمبلغ
    1 point
  14. It's a broken feature that they could not add in due to it breaking basic game mechanics. get over it.
    1 point
  15. Appears quite a few things broke in 1.5.3
    1 point
  16. oh lol how stupid I am. I should have checked things after copying. Well thanks for spotting it for me ;D -TC
    1 point
  17. Are you sure that you want to bind hminus function to every key?
    1 point
  18. السلام عليكم ورحمة الله وبركاته - حبيت اشكر كل الي ساعدوني .. في استضافة فالكون ولله الحمد استضافة فالكون كانت جيدة لـ بعض المشتريين ولم يشتكي احد من ضعف الخوادم , وكانت تجربة رائعة جداً - وتسكرت الاستضافة بتاريخ 11/18/2016 وليس لدينا فكرة للرجوع . - شكر خاص لـ استضافة تابليتو على خدماتها الممتازة اتمنى ان تصل للأعلى - اتمنى لكم التوفيق ,
    1 point
  19. lol if you have a code share it ,to let people understand what do you say and mean Perfect answer
    1 point
  20. What i said does NOT fix the errors above. What i said is about the fact the killstreak is not resetted: you set to false some data of an element, but actually you store the killstreak in a table, not on the element itself. --this is you func i was talking about: function resetKillingstreak (player) local killstreaks = getElementData( player, "killstreaks" ) if tonumber( killstreaks ) then if ( killstreaks >= 0 ) then --They have a killingstreak higher than 0 --We will want to reset the element data back to its default (that being false) setElementData ( player, "killstreaks", false ) end else return end end --but actually you store the data in local killstreaks = {} --so the function should work on that: function resetKillingstreak () local player = source --it's not the first parameter, it is the source! --local killstreaks = killstreaks[player] if killstreaks[player] and ( killstreaks[player] > 0 ) then --if the killstreak exists (it may be nil) and it's higher than 0 --They have a killingstreak higher than 0 --We will want to reset the element data back to its default (that being false) killstreaks[player] = 0 --set it to 0 end end About the errors posted above, it's because you are trying to use a false value as a number: getElementData returns false if the data or the element itself does not exists since you are trying to get data that was never setted, it does not exists and the getElementData returns false In the next line you add 1 to that value (that should be a number, but as explained it's false instead) and so it fails. So to fix this you should handle the data that does not exist. The easiest way it to add an "or 0" when settin the variable: in case the function before the "or" returns a false value (false or nil) the value after the or is used instead: in your case it will be set to 0 instead with this fix, and not false if the get data return false. --replace local exp = getElementData(player, "experience") --with local exp = getElementData(player, "experience") or 0 You should replace this everytime the function is called and it may return false. Since you are only increasing that value by 1, you can only add the "or 0" on line 11 Hope i've been clear, let us know if it works also good luck with learning lua
    1 point
  21. I know it doesn't make much sense because I barely know how to script so I'm basically just putting loose parts together I found on the wiki Therefor I'm not fully sure how to solve it even with your information. And does it fix the warnings/errors at the same time or is this a different problem?
    1 point
  22. Are you for real? Triple posting and begging for help at midnight? What do you expect like... my god...
    1 point
  23. function RemoveHEXColorCode( s ) return s:gsub( '#%x%x%x%x%x%x', '' ) or s end
    1 point
×
×
  • Create New...