ZH-CN/1.5.1 版本新特性

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
MTA:SA Releases Changelog Pages
1.0 1.0.0 • 1.0.1 • 1.0.2 • 1.0.3 • 1.0.4
1.1 1.1.0 • 1.1.1
1.2 1.2.0
1.3 1.3.01.3.11.3.21.3.31.3.41.3.5
1.4 1.4.01.4.1
1.5 1.5.01.5.11.5.21.5.31.5.41.5.51.5.61.5.71.5.81.5.9
1.6 1.6.01.6.1

主要添加 / 修改

  • 在 meta.xml 中添加 "shared" 导出类型
  • 添加 Lua 源代码加密选项
  • Added the ability to cancel onClientKey
  • Added escape to onClientKey (can't be cancelled twice in a row)
  • 添加 SettingHUDMatchAspectRatio, SettingAspectRatio 到 dxGetStatus


客户端


新增函数


新增事件

修改 / Bug 修复

  • Fixed vehicle upgrades
  • Fixed warpPedIntoVehicle causing desync when two players try to enter at the same time via vehicle_enter and warpPedIntoVehicle
  • 修复地图编辑器的崩溃
  • 修复编译完成的调试文件名
  • 修复使用武器mod可能删除你的武器
  • 修复替换武器模型在流入 tec-9 是发生的崩溃
  • 修复控制台(F8)输入时发生的焦点丢失
  • 修复加载/卸载 16 次模型之后,构建删除奔溃
  • 修复投掷类武器弹药计数混乱
  • 修复每个资源第二次加载时调用 guiCreateFont 发生的失败
  • 修复有时使用 giveWeapon 客户端弹药数量不同步
  • 修复 unicode 下 guiLabelGetTextExtent 的不正常工作
  • 修复服务端牵引交通工具时不触发 onColShapeHit
  • 修复 GUI 滚动滚动条不触发 onClientMouseEnter/Leave
  • 修复 onVehicleStartEnter 在 warpPedIntoVehicle 之后 cancelEvent() 网络故障原因
  • Fixed onPedWasted not triggered, when ped died because the vehicle he was in, exploded
  • 修复服务器 createColPolygon
  • Fixed a crash when destroying an object in onClientColShapeHit / onClientElementColShapeHit
  • Fixed lightweight sync packet being misread on the client sometimes
  • Fixed getLatentEventHandles sometimes returning false instead of an empty table
  • Fixed setAccountData clips the digits after the decimal point
  • Fixed peds/players being removed from vehicles that fall through the ground


服务端


新增函数

新增事件

修改 / Bug 修复

资源

  • 添加 sfxbrowser 资源
  • Fixed instant reload exploits for the reload resource
  • 修复 地图编辑器资源中的 'Use LODs' 选项
  • 修复 admin, acpanel, freeroam, parachute 和 race 资源中一些问题

编辑器

更多详细信息

更多相关信息在Google 代码库 Bug 跟踪 Changelog: