Jump to content

Captain Cody

Members
  • Posts

    2,753
  • Joined

  • Last visited

  • Days Won

    18

Everything posted by Captain Cody

  1. I had WIP dynamic dirt system meaning only the bits of the car that should get dirt on them got dirt and going through water washed the car up to the point where the water submerged it.
  2. I did one before that slowly faded in and moved a dirt texture (Then layered a variety of dirt textures depending on how dirty it is) wish I still had files for it though lost it along with my latest server build.
  3. Should make it slowly build dirt instead of sudden changes to different textures.
  4. As much as you may want the resource to be seen, please don't bump unless there are some updates or something.
  5. People just don't like custom maps for whatever reason.
  6. Working on porting alien city at the moment, got a clean conversion over just working on fixing the large amount of bugs from the really high object count.
  7. Relaunch would include a lot more features, V1 I'll admit lacked quite a few things, but V2, if it happens, will be feature-filled, with a lot to do. Also, something that is likely to grab your attention is my latest upcoming project, which more info will be released about as soon as it's in stable state.
  8. Would anyone actually join this time around if we relaunched? I'm kind of wanting to do a complete overhaul of the core scripts, as well as add a lot more things to do, but just not sure if it'd be worth it.
  9. Yeah, shut it down a bit back due to lack of players and general script issues, hope to relaunch though.
  10. Besides for the extremely custom map (Huge custom modeled Jungle island) JSeries fits that description.
  11. I'll send you a custom camera I've been working on in a bit. After reading what you said, there's no way of doing that on a custom object with the default setCameraMatrix function.
  12. setCameraTarget(localPlayer) However, toggling movement requires a custom resource.
  13. You always want to start a map after server starts, theres a bug that messes with everything if not done like so.
  14. Captain Cody

    Help

    First and foremost you don't need the MySQL module anymore. Secound of all you need to define your MySQL host somewhere.
  15. I'm just saying he wouldn't use such a simple community resource. (That and I looked at his source he posted, nothing resembling that).
  16. @IgorRodriguesCo You obviously haven't a clue who Samake is or what he has done in the past.
  17. Awesome job, cool to see something different.
  18. TriggerServer side event has to be paired with triggerClientEvent to return results. function ShowTopKillers() allData = {} local data = dbQuery(db, "SELECT * FROM top_killers ORDER BY kills DESC LIMIT 50") local result = dbPoll(data, -1) for ind, val in ipairs( result ) do local killer = {} killer.nick = val.nick killer.kills = val.kills killer.deaths = val.deaths --killer.kd = val.kd allData[killer.nick] = killer end triggerClientEvent ( client, "ShowTopKillersC", client, allData ) end addEvent("ShowTopKillers", true) addEventHandler("ShowTopKillers", getRootElement(), ShowTopKillers) Client - triggerServerEvent("ShowTopKillers", localPlayer) function ShowTopKillers(allKilers) killerCounter = 1 for id, killer in pairs(allKilers) do local row = guiGridListAddRow ( killersScreenGridList) guiGridListSetItemText ( killersScreenGridList, row, 1, killerCounter, false, false ) guiGridListSetItemText ( killersScreenGridList, row, 2, killer.nick, false, false ) guiGridListSetItemText ( killersScreenGridList, row, 3, killer.kills, false, false ) guiGridListSetItemText ( killersScreenGridList, row, 4, killer.deaths, false, false ) guiGridListSetItemText ( killersScreenGridList, row, 5, 0.69, false, true ) killerCounter = killerCounter +1 end end addEvent("ShowTopKillersC", true) addEventHandler("ShowTopKillersC", localPlayer, ShowTopKillers) - Not Tested. If you want this to happen every time a certain function is called - function ShowTopKillers() triggerServerEvent("ShowTopKillers", localPlayer) end
  19. NP++ for me lost the XML for MTA Lua a while ago and never bothered to add it back really.
  20. @Perf4mo Would you mind if I post a prelighted version?
  21. Actually no, MTA just executes those functions. It is GTA: SA that made some of the functions, however, Renderware itself contained most of the functions originally.
×
×
  • Create New...