N3xT

Other Languages Moderators
  • Content Count

    2,380
  • Joined

  • Days Won

    15

N3xT last won the day on October 24 2018

N3xT had the most liked content!

Community Reputation

635 MTA Ambassador

About N3xT

  • Rank
    Arabic Section Moderator
  • Birthday April 7

Details

  • Location
    Saudi Arabia
  • Occupation
    Developer

Recent Profile Visitors

4,596 profile views
  1. Try this: local file = fileOpen('testfile.txt') fileClear(file) -- clear file local content = 'some new text' fileWrite(file, content) print(#content) -- got 13 local fileContent = fileRead(file, fileGetSize(file)) fileClose(file) print(#fileContent)
  2. N3xT

    Help. guiCreateEdit

    By the way, using a timer inside a render event is useless because 'onClientRender' event gets triggered everytime GTA renders a new frame.
  3. It's not really that efficient, use the method salh gave you instead
  4. الشاطئ اسمه بيتش Beach
  5. dxCreateShader dxCreateTexture dxSetShaderValue engineApplyShaderToWorldTexture coronamoon راجع الويكي لمزيد من المعلومات, واسم تكستر القمر
  6. executeSQLQuery ( 'CREATE TABLE IF NOT EXISTS `Rich` ( playerSerial, Money )' ) addCommandHandler ( 'Save', function ( player ) local playerSerial = getPlayerSerial ( player ) local checkData = executeSQLQuery ( 'SELECT * FROM `Rich` WHERE playerSerial = ?', playerSerial ) if ( #checkData == 0 ) then executeSQLQuery ( 'INSERT INTO `Rich` ( playerSerial, Money ) VALUES ( ?, ? )', playerSerial, getPlayerMoney ( player ) ) else executeSQLQuery ( 'UPDATE `Rich` SET Money = ?', getPlayerMoney ( player ) ) end end ) addEventHandler ( 'onPlayerJoin', root, function ( ) local playerSerial = getPlayerSerial ( source ) local checkMoney = executeSQLQuery ( 'SELECT * FROM `Rich` WHERE playerSerial = ?', playerSerial ) if ( #checkMoney == 1 ) then setPlayerMoney ( source, checkMoney[1].Money ) end end )
  7. كودك خطأ, راح يوصل 10 ويوقف
  8. استعمل اللغة العربية, وبخصوص صاحب الموضوع عشان تعطي اللاعب باراشوت استعمل giveWeapon ( element, 46 )
  9. N3xT

    [Help] PlaySound

    sound=playSound(file)
  10. يا إلهي وليست يا إلاهي
  11. This might be helpful, look for 'Server crashes' part: HERE