Jump to content

lopezloo

MTA Contributors
  • Posts

    157
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by lopezloo

  1. Currently wiki page url looks like that: https://wiki.multitheftauto.com/wiki/Main_Page What is purpose of using "wiki" subdomain if we need also add catalog "/wiki/"? I suggest made URLs like that: https://wiki.multitheftauto.com/Main_page and https://mtasa.com/wiki/Main_page and of course for back compatibility don't disallow old schema.
  2. Wrong section. https://forum.multitheftauto.com/viewforum.php?f=91
  3. if getElementModel(Player) == 219 then
  4. Custom animations feature was abandoned due to bugs.
  5. attachEffect is useful function. You need declare it in your script (copy and paste source code). Also only change is this func use onClientPreRender instead of onClientRender so updating position will be smoother. And remember you need use vector, ex. attachEffect(effect, vehicle, Vector3(0, 0, 0))
  6. Play MTA with steam overlay and you will can open browser and play some flash/html5 game.
  7. Simple but useful. I like it.
  8. Fixed requesting videos from YT playlists. Also Twitch changed their API and it's no longer works without SSL (https) so I can't check if channel is online etc. (fetchRemote doesn't support SSL). Currently requesting twitch streams doesn't work. You need this to make own map. If you just want test that download gamemode & map and start "cinema" resource.
  9. You need to run gamemode instead of map. Download it from github. And make sure you use awesomium branch.
  10. Updated code. Now it's working with r6789 browser branch (http://jusonex.net/public/mta/awesomium/full-r6798.exe). Test map: https://mega.co.nz/#!CBg3EJaJ!3RjlWmODo ... 2I-4VbEtyU You need use build in function, it's based on colshape. Syntax: exports.cinema:createRoom(string roomName, table screenObjects, float x, float y, float z, float width, float depth, float height) x, y, z, width, depth, height are arguments from createColCuboid. If you already got map enter to the room and press B to open request menu. Yes, but first browser branch must be be implemented.
  11. Easy via CSS. .content img { max-width: 100%; }
  12. https://community.multitheftauto.com/in ... tails&id=7 Please use search again.
  13. Local and external mode is really needed? Why it can't be based only on blacklists? It's ridiculous I can't simply create link from local to external page. Perchance maybe add setBrowserLocal & isBrowserLocal, ex. addEventHandler("onClientBrowserNavigate", root, function(url) if string.find(url, "http://") == 1 and isBrowserLocal(source) == true then setBrowserLocal(source, false) loadBrowserUrl(source, url) -- load url again in not-local mode end end )
  14. Alpha-testing server was opened. * there was tracker & IP but server was currently shut down * Please report all possible bugs or proposals here/PM and have fun.
  15. You can use effect (createEffect) while vehicle has activated nitro (isVehicleNitroActivated). "flamethrower" effect should looks good.
  16. Progress, hostage system: Earlier I wanted make individual hostage ped object with "applied animation" (something like this object) but I'm not enough good with modeling. I used GTA animation and some scripting magic and I think it doesn't look too bad.
  17. He propably wants change weapon slot parameter. You can do this only by creating own weapon system based on giveWeapon etc.
  18. Good idea but maybe can you add detection by folder name too? For example if script is in .../client/main.lua plugin will detect it as client-side script.
  19. I'm doing a little documentation and I'm not sure what parameters has onClientBrowserCursorChange. What is cursor? It's table with cursor position or what? //edit Oh, wait. It's calling when CSS cursor property change state? For example when I hover on a link?
  20. addEventHandler("onClientPlayerDamage", localPlayer, function(attacker, weapon, bodypart) if not attacker and weapon == 54 and bodypart == 3 then local task = {} task[1], task[2], task[3] = getPedTask(localPlayer, "primary", 3) if task[1] == "TASK_COMPLEX_JUMP" and task[2] == "TASK_COMPLEX_IN_AIR_AND_LAND" and task[3] == "TASK_SIMPLE_CLIMB" then cancelEvent() end end end )
  21. Via shaders you can change texture of specified object. But still would be nice to change only material (it depeneds what sound of walking you can hear etc.) without replacing model.
×
×
  • Create New...