-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathtutorial.html
More file actions
429 lines (378 loc) · 14 KB
/
tutorial.html
File metadata and controls
429 lines (378 loc) · 14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SimpleMenu - Modern FiveM Admin Menu</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
color: #e0e6ed;
line-height: 1.6;
min-height: 100vh;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
.hero {
text-align: center;
padding: 60px 20px;
background: linear-gradient(45deg, rgba(0,123,255,0.1), rgba(40,167,69,0.1));
border-radius: 15px;
margin-bottom: 40px;
box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.hero h1 {
font-size: 3.5rem;
font-weight: 700;
margin-bottom: 10px;
background: linear-gradient(45deg, #007bff, #28a745);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.hero p {
font-size: 1.2rem;
opacity: 0.9;
margin-bottom: 30px;
}
.version-badge {
display: inline-block;
background: linear-gradient(45deg, #28a745, #20c997);
padding: 8px 16px;
border-radius: 20px;
font-weight: 600;
font-size: 0.9rem;
margin-bottom: 20px;
}
.nav-cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
margin-bottom: 40px;
}
.nav-card {
background: rgba(255,255,255,0.05);
border-radius: 12px;
padding: 25px;
text-align: center;
transition: all 0.3s ease;
border: 1px solid rgba(255,255,255,0.1);
cursor: pointer;
}
.nav-card:hover {
transform: translateY(-5px);
background: rgba(255,255,255,0.08);
box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}
.nav-card h3 {
color: #007bff;
margin-bottom: 15px;
font-size: 1.3rem;
}
.section {
background: rgba(255,255,255,0.03);
border-radius: 12px;
padding: 30px;
margin-bottom: 30px;
border-left: 4px solid #007bff;
}
.section h1, .section h2 {
color: #007bff;
margin-bottom: 20px;
font-size: 1.8rem;
display: flex;
align-items: center;
gap: 10px;
text-align: center;
justify-content: center;
}
.section h3 {
color: #28a745;
margin: 25px 0 15px 0;
font-size: 1.3rem;
}
.section p {
text-align: center;
margin: 10px 0;
}
.code-block {
background: #1a1a1a;
border: 1px solid #333;
border-radius: 8px;
padding: 20px;
margin: 15px 0;
font-family: 'Courier New', monospace;
overflow-x: auto;
position: relative;
}
.code-block::before {
content: attr(data-lang);
position: absolute;
top: 8px;
right: 12px;
background: #007bff;
padding: 4px 8px;
border-radius: 4px;
font-size: 0.8rem;
font-weight: 600;
}
.install-steps {
counter-reset: step;
}
.install-step {
counter-increment: step;
background: rgba(40,167,69,0.1);
border-left: 4px solid #28a745;
padding: 20px;
margin: 15px 0;
border-radius: 0 8px 8px 0;
position: relative;
}
.install-step::before {
content: counter(step);
position: absolute;
left: -20px;
top: 20px;
background: #28a745;
color: white;
width: 30px;
height: 30px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
}
.permission-group {
background: rgba(255,193,7,0.1);
border: 1px solid rgba(255,193,7,0.3);
border-radius: 8px;
padding: 15px;
margin: 10px 0;
}
.permission-group h4 {
color: #ffc107;
margin-bottom: 10px;
}
.warning {
background: rgba(220,53,69,0.1);
border: 1px solid rgba(220,53,69,0.3);
border-radius: 8px;
padding: 15px;
margin: 15px 0;
}
.warning::before {
content: "⚠️ ";
font-size: 1.2rem;
}
.info {
background: rgba(23,162,184,0.1);
border: 1px solid rgba(23,162,184,0.3);
border-radius: 8px;
padding: 15px;
margin: 15px 0;
}
.info::before {
content: "ℹ️ ";
font-size: 1.2rem;
}
.download-btn {
background: linear-gradient(45deg, #007bff, #0056b3);
color: white;
padding: 12px 25px;
border: none;
border-radius: 8px;
text-decoration: none;
display: inline-block;
font-weight: 600;
transition: all 0.3s ease;
margin: 10px 5px;
}
.download-btn:hover {
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(0,123,255,0.3);
}
a {
color: #007bff;
text-decoration: none;
transition: color 0.3s;
}
a:hover {
color: #00438a;
}
hr {
border: none;
border-top: 2px solid rgba(255,255,255,0.1);
margin: 20px 0;
}
code {
background: #1a1a1a;
color: #e0e6ed;
padding: 4px 8px;
border-radius: 4px;
font-family: 'Courier New', monospace;
}
em {
color: #28a745;
font-style: italic;
}
b, strong {
color: #ffc107;
font-weight: 600;
}
@media (max-width: 768px) {
.hero h1 {
font-size: 2.5rem;
}
.nav-cards {
grid-template-columns: 1fr;
}
.container {
padding: 10px;
}
}
</style>
</head>
<body>
<div class="container">
<div class="hero">
<div class="version-badge">SimpleMenu Tutorial</div>
<h1>SimpleMenu</h1>
<p>Advanced FiveM Server Administration Menu</p>
<p>Vehicle Spawning • Player Management • Permission System • Emergency Services</p>
<a href="#installation" class="download-btn">Get Started</a>
<a href="https://forum.fivem.net/t/simplemenu-now-with-ace-permissions-now-fully-released-lua/324733" class="download-btn">Download</a>
</div>
<div class="nav-cards">
<div class="nav-card" onclick="scrollToSection('installation')">
<h3>📦 Installation</h3>
<p>Quick setup guide for your FiveM server</p>
</div>
<div class="nav-card" onclick="scrollToSection('permissions')">
<h3>🔐 Permissions</h3>
<p>Configure ACE permissions and roles</p>
</div>
<div class="nav-card" onclick="scrollToSection('configuration')">
<h3>⚙️ Configuration</h3>
<p>Customize vehicles, peds, and features</p>
</div>
<div class="nav-card" onclick="scrollToSection('emergency')">
<h3>🚑 Emergency Services</h3>
<p>Vehicle lists and loadouts</p>
</div>
</div>
<div class="section">
<h2>SimpleMenu</h2>
<hr>
</div>
<div class="section">
<h1>How to get Emergency Services Vehicle List</h1>
<hr>
<p>1: Uncomment Lines 453 --> 458</p>
</div>
<section id="installation" class="section">
<h1>INSTALL INSTRUCTIONS:</h1>
<hr>
<p>1: Download the Menu from FiveM Forums: <a href="https://forum.fivem.net/t/simplemenu-now-with-ace-permissions-now-fully-released-lua/324733" title="SimpleMenu Download">SimpleMenu</a></p>
<p>2: Drag & Drop the two folders into resources</p>
<p>3: In order do the following</p>
<div class="code-block" data-lang="cfg">start NativeUI<br>start SimpleMenu</div>
<p>4: Do not change the name of any of the folders to make it easier. server.cfg is case sensitive</p>
<p><em>* - If you wish you may use this in any private or public project!</em></p>
</section>
<div class="section">
<h2>Changelog</h2>
<hr>
<p><b>Visit Releases at GitHub for Releases!</b></p>
</div>
<section id="permissions" class="section">
<h1>To add Permissions to any given person do the following.</h1>
<hr>
<p># SimpleMenu Group</p>
<div class="code-block" data-lang="cfg">add_ace identifier.steam:[Steam HEX Here] simplemenu.admin allow --Name of Person Here<br>add_ace identifier.steam:[Steam HEX Here] simplemenu.state allow --Name of Person Here<br>add_ace identifier.steam:[Steam HEX Here] simplemenu.highway allow --Name of Person Here<br>add_ace identifier.steam:[Steam HEX Here] simplemenu.sheriff allow --Name of Person Here<br>add_ace identifier.steam:[Steam HEX Here] simplemenu.emt allow --Name of Person Here<br>add_ace identifier.steam:[Steam HEX Here] simplemenu.emergency allow --Name of Person Here</div>
</section>
<div class="section">
<h1>How to ONLY allow Admins to Open the Menu</h1>
<hr>
<p>1: Go to line 1871</p>
<p>2: Uncomment lines 1871 –> 1881</p>
<p><em>NOTE: To uncomment take out "–[[" and "]]"</em></p>
</div>
<section id="emergency" class="section">
<h1>How to add Emergency Services Cars</h1>
<hr>
<p>1: Go to lines 386 –> 406</p>
<p>2: When you go there add the Emergency Services spawn codes (On your server) to be able to spawn them in-game</p>
<p>3: Must reload script after changes</p>
</section>
<div class="section">
<h1>How to get Emergency Loadouts</h1>
<hr>
<p>1: Go to 452 –> 457</p>
<p>2: Uncomment those lines by removing the two "–" before each 'submenu:AddItem()'</p>
</div>
<div class="section">
<h1>How to get Addon Peds</h1>
<hr>
<p>1: Go to line 1681 and uncomment it</p>
<p>2: Go to line 1683 and uncomment it</p>
<p>3: Go to line 1689 and uncomment it which is commented from 1689 –> 1693 (Remove "–[[" and "]]")</p>
</div>
<section id="configuration" class="section">
<h1>Ace Permissions are added to the following.</h1>
<hr>
<p>1: Healing</p>
<p>2: Armour Giving</p>
<p>3: Godmode</p>
<p>4: Invisibility</p>
<p><em>NOTE: There may or may not be more added from updates.</em></p>
</section>
<div class="section">
<h1>How to enable Custom Car & Ped Spawning</h1>
<hr>
<p>For Custom Car Spawns</p>
<p>1: Uncomment lines 385 & 387 (To uncomment remove "–")</p>
<p>2: Uncomment lines 393 -> 397 (To uncomment remove "–[[" and "]]")</p>
<p>For Custom Ped Spawns</p>
<p>1: Uncomment lines 1286 & 1288 (To uncomment remove "–")</p>
<p>2: Uncomment lines 1294 -> 1298 (To uncomment remove "–[[" and "]]")</p>
<p>To add the Custom Peds and Custom Cars follow the templates located on lines 310 & 1234</p>
</div>
<div class="section">
<h1>NOTE:</h1>
<hr>
<p>NativeUI is from Frazzle not myself, if you wish to download the files located on GitHub (SimpleMenu & NativeUI) it is NOT in a drag & drop format!</p>
<p><a href="https://github.com/FrazzIe/NativeUILua" title="NativeUI Download">NativeUI Download Link</a></p>
</div>
</div>
<script>
function scrollToSection(sectionId) {
document.getElementById(sectionId).scrollIntoView({
behavior: 'smooth'
});
}
// Add smooth scrolling for anchor links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
const target = document.querySelector(this.getAttribute('href'));
if (target) {
target.scrollIntoView({
behavior: 'smooth',
block: 'start'
});
}
});
});
</script>
</body>
</html>