altmp / altv-js-module-v2

alt:V JavaScript v2 module
MIT License
10 stars 9 forks source link

chore: remove `is` prefix from constructors #202

Closed carlos-menezes closed 7 months ago

carlos-menezes commented 8 months ago

Example usage:

const view = alt.WebView.create({
  url: "http://resource/client/html/index.html",
  overlay: true // previously: `isOverlay: true`
});

const audio = alt.Audio.create({
  source: "https://www.myinstants.com/media/sounds/vine-boom.mp3",
  volume: 10,
  radio: true // previously: `isRadio: true`
})

Closes #192

carlos-menezes commented 8 months ago
Screenshot 2024-03-20 at 10 06 54
Yiin commented 8 months ago

lgtm @xLuxy