-
Posts
2,753 -
Joined
-
Last visited
-
Days Won
18
Everything posted by Captain Cody
-
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.
-
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.
-
Should make it slowly build dirt instead of sudden changes to different textures.
-
As much as you may want the resource to be seen, please don't bump unless there are some updates or something.
-
imvehft How to change vehicle's light texture?
Captain Cody replied to Lord Henry's topic in Scripting
Shaders. -
People just don't like custom maps for whatever reason.
-
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.
-
[English]JSeries[Race|RPG|Sandbox]
Captain Cody replied to Captain Cody's topic in Servers to play on
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. -
[English]JSeries[Race|RPG|Sandbox]
Captain Cody replied to Captain Cody's topic in Servers to play on
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. -
Yeah, shut it down a bit back due to lack of players and general script issues, hope to relaunch though.
-
Besides for the extremely custom map (Huge custom modeled Jungle island) JSeries fits that description.
-
[HELP] Function to force camera movement on/off?
Captain Cody replied to koragg's topic in Scripting
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. -
[HELP] Function to force camera movement on/off?
Captain Cody replied to koragg's topic in Scripting
setCameraTarget(localPlayer) However, toggling movement requires a custom resource. -
You always want to start a map after server starts, theres a bug that messes with everything if not done like so.
-
First and foremost you don't need the MySQL module anymore. Secound of all you need to define your MySQL host somewhere.
-
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).
-
@IgorRodriguesCo You obviously haven't a clue who Samake is or what he has done in the past.
-
Awesome job, cool to see something different.
-
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
-
NP++ for me lost the XML for MTA Lua a while ago and never bothered to add it back really.
-
@Perf4mo Would you mind if I post a prelighted version?
-
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.
-
1 year.
