Jump to content

Captain Cody

Members
  • Posts

    2,753
  • Joined

  • Last visited

  • Days Won

    18

Everything posted by Captain Cody

  1. Been noticing this has been happening alot. Atm working on island for server, streaming system good and all. Issue I have it when returning to SA some of the models don't revert back to normal, I use https://wiki.multitheftauto.com/wiki/EngineRestoreModel and https://wiki.multitheftauto.com/wiki/EngineRestoreCOL But, they don't revert. Any possible fix?
  2. May or may not work https://wiki.multitheftauto.com/wiki/SetLowLODElement https://community.multitheftauto.com/index.php?p ... ls&id=2540 https://wiki.multitheftauto.com/wiki/En ... ODDistance
  3. I got something for you then https://wiki.multitheftauto.com/wiki/Main_Page
  4. @Shaman123 please read the first post before you post.
  5. Or you can have it check server side if the player if player is guest /Not logged in/ if so then trigger.
  6. https://wiki.multitheftauto.com/wiki/OnClientPlayerJoin
  7. Xeon, it could be possible to attatch one single object directly to the player and set it as a low lod for the player.
  8. Do you have download set up to directly download from server OR an http server?
  9. EventHanders and what not, search up GUI at https://wiki.multitheftauto.com/wiki
  10. Same resource, it will take all the elements of that resource, and move them over, add it server or client side, doesn't matter.
  11. showPlayerHudComponent("area_name",false)
  12. Use a script, " Dimension= Dimension yeh want for i,v in pairs (getElementsByType("Object",resourceRoot) do setElementDimension(v,Dimension) end "
  13. You'd have to use engine Replace DFF, and engine Replace TXD for that purpose, you can find the ids and what not in the admin panel. https://wiki.multitheftauto.com/wiki/EngineLoadTXD https://wiki.multitheftauto.com/wiki/EngineLoadDFF https://wiki.multitheftauto.com/wiki/EngineImportTXD https://wiki.multitheftauto.com/wiki/EngineReplaceModel Any other questions, post in the scripting section of the forums.
  14. Continuing work on my server I've updated to the MTA nightly as to fix the bugs with the map I am currently working on, but it seams I have run into an issue: Although I myself am not crashing, nearly all of my testers and staff are crashing when they try to launch the updated version. Any ideas?
  15. That is basically what every one has been saying...
  16. Figure out what the X and Y for mini map are to the real map. Then figure out what that is relative to the picture.
  17. The tattoos are shaders in themselves, so you are basicly replacing it, make sure layered is set to true.
  18. Assign the timer to the player by doing thus - Top of script timer = {} Then use this when he exits vehicle timer[vehicle] = setTimer(yaydaya) And use this when someone reenters killTimer(timer[vehicle])
  19. Have it run through the players and compare their clans to the list of clans.
  20. The man barley speaks any English give him a break, not his fault google translate translated it like so. koko.m.t.a badalaan min tahmil almilaffat min khilal albarnamaj alnnasi 'iidafatan ma yali 'iilaa milaff .meta alkhass bik <download_priority_group>-1</download_priority_group>
  21. Timer and use a marker that is a red corona
  22. Ipairs, starts at 1, and stops at the end pairs, randomly goes through them stops when it has looped through it all.
  23. Try this? function enter (vehicle,thePlayer) passengers = 0 for seat, player in pairs(getVehicleOccupants(vehicle)) do passengers = passengers + 1 end local maxPassengers = getVehicleMaxPassengers(vehicle) if not (getElementData(thePlayer, "gfFollow") == nil) then for i, v in pairs(getElementsByType("ped")) do if (getElementData(v, "name") == getElementData(thePlayer, "hasGirlfriend")) and (getElementData(v, "type") == "girlfriend") then girlFriendPed = v end -- girlFriendPed end end
×
×
  • Create New...