Skip to content

Commit 9ef0253

Browse files
committed
First Commit
1 parent dc112c5 commit 9ef0253

File tree

105 files changed

+11102
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+11102
-0
lines changed

.buildpath

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<buildpath>
3+
</buildpath>

.project

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>nfs</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.dltk.core.scriptbuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
</buildSpec>
14+
<natures>
15+
<nature>org.eclipse.koneki.ldt.nature</nature>
16+
</natures>
17+
</projectDescription>

LICENSE.txt

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Copyright (c) 2013, Noneatme - Jonas B.
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4+
5+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6+
7+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

both/CVehicleClasses.lua

+133
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
-- ###############################
2+
-- ## Project: MTA:Speedrace ##
3+
-- ## Name: VehicleClasses ##
4+
-- ## Author: Noneatme ##
5+
-- ## Version: 1.0 ##
6+
-- ## License: See top Folder ##
7+
-- ###############################
8+
9+
-- FUNCTIONS / METHODS --
10+
11+
local cFunc = {}; -- Local Functions
12+
local cSetting = {}; -- Local Settings
13+
14+
VehicleClasses = {};
15+
VehicleClasses.__index = VehicleClasses;
16+
17+
--[[
18+
19+
]]
20+
21+
-- ///////////////////////////////
22+
-- ///// New //////
23+
-- ///////////////////////////////
24+
25+
function VehicleClasses:New(...)
26+
local obj = setmetatable({}, {__index = self});
27+
if obj.Constructor then
28+
obj:Constructor(...);
29+
end
30+
return obj;
31+
end
32+
33+
34+
-- ///////////////////////////////
35+
-- ///// Constructor //////
36+
-- ///////////////////////////////
37+
38+
function VehicleClasses:Constructor(...)
39+
40+
self.classS = {
41+
494, -- Hotring
42+
503,
43+
502, -- Hotring
44+
}
45+
46+
self.classLegendary = {
47+
601,
48+
528,
49+
444,
50+
406,
51+
407,
52+
408,
53+
416,
54+
423,
55+
427,
56+
403,
57+
}
58+
59+
self.classA = {
60+
411,
61+
451,
62+
602,
63+
603,
64+
}
65+
66+
self.classB = {
67+
477,
68+
480,
69+
415,
70+
429,
71+
506,
72+
--522, -- NRG 500
73+
541,
74+
559,
75+
560,
76+
589,
77+
78+
}
79+
80+
self.classC = {
81+
400,
82+
401,
83+
402,
84+
405,
85+
410,
86+
412,
87+
419,
88+
--420, -- Taxi
89+
421,
90+
--424, -- BF Injection
91+
426,
92+
--434, -- Hotknife
93+
436,
94+
--438 -- Cabbie
95+
439,
96+
445,
97+
--463 -- Freeway
98+
458,
99+
--461 -- PCJ 600
100+
467,
101+
--468 -- Sanchez
102+
475,
103+
479,
104+
491,
105+
492,
106+
--495 -- Sandking
107+
--504 -- Blooding Banger
108+
507
109+
}
110+
111+
self.classD = {
112+
496,
113+
542,
114+
543,
115+
554,
116+
600,
117+
}
118+
119+
self.classE = {
120+
440,
121+
478,
122+
518,
123+
}
124+
125+
self.classLimitedTime = {
126+
539,
127+
128+
}
129+
130+
outputDebugString("[CALLING] VehicleClasses: Constructor");
131+
end
132+
133+
-- EVENT HANDLER --

0 commit comments

Comments
 (0)