Jump to content

Enkanet

Members
  • Posts

    77
  • Joined

  • Last visited

1 Follower

About Enkanet

  • Birthday October 2

Details

  • Gang
    Scripting
  • Location
    Turkey
  • Occupation
    Freelance

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Enkanet's Achievements

Transformer

Transformer (11/54)

0

Reputation

  1. local screenW, screenH = guiGetScreenSize() local fontSize = math.ceil((defaultFontSize * screenW) / (defaultScreenWidth * 1.0)) local myFont = dxCreateFont( "segoeui.ttf", fontSize ) Default Font Size should be the font size on your screen. Example, you designed it in 20pt on your screen, then write 20. Default Screen Width is screen width of your resolution. Example your resolution is 1366*768 then default screen width should be 768. Cheers.
  2. I didn't even look at the vehicle IDs. It just creates a vehicle which has an ID of between 400 and 600 or sth. Change it and enjoy. Maybe make it math.random(400, 500)? Your choise.
  3. Yeah it's uploading. Well actually, this is MTA version of the GTA5 mod, Vehicle Cannon.
  4. Hello everyone! Today I'll introduce you my new resource called vehicle_weapon! With this resource, you can throw vehicles instead of bullets from your weapons! Watch the video! Download: https://community.multitheftauto.com/in ... s&id=12150
  5. If you look at the wiki page, you will understand.
  6. Quite easy: local teamBlue = createTeam ( "Team Blue", 0, 0, 255 ) local teamRed = createTeam ( "Team Red", 255, 0, 0 ) local teams = {teamBlue,teamRed} local randomteam = teams[math.random(#teams)] function setTeams() for _, player in ipairs(getElementsByType("player")) do -- We are going to launch the script for every single player. setPlayerTeam(player, randomteam) end end addEventHandler("onResourceStart", getRootElement(), setTeams)
  7. You need to request your website first with: requestBrowserDomains
  8. The problem is solved by using getSoundLengts and getSoundMetaTags with onClientSoundDownloaded. Thanks to Koeno100. And getSoundBPM should be used with onClientSoundBeat.
  9. Hello! I want to remove the lights from an interior. How can I do so? Should I do it with shaders? Can you explain it a little bit? Thanks in advance! Thanks to everybody! I solved the problem by making a dxCreateRectangle as an overlay.
  10. Yeah sound plays properly and I can pause/play it and yeah I also added that to meta.xml. I don't really know where the problem is.
×
×
  • Create New...