=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
BrainFuck Programming Tutorial by: Katie
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
<?php | |
/** | |
* I had to parse an XLSX spreadsheet (which should damn well have been a CSV!) | |
* but the usual tools were hitting the memory limit pretty quick. I found that | |
* manually parsing the XML worked pretty well. Note that this, most likely, | |
* won't work if cells contain anything more than text or a number (so formulas, | |
* graphs, etc ..., I don't know what'd happen). | |
*/ |
<!-- Flat ComboBox --> | |
<SolidColorBrush x:Key="ComboBoxNormalBorderBrush" Color="#e3e9ef" /> | |
<SolidColorBrush x:Key="ComboBoxNormalBackgroundBrush" Color="#fff" /> | |
<SolidColorBrush x:Key="ComboBoxDisabledForegroundBrush" Color="#888" /> | |
<SolidColorBrush x:Key="ComboBoxDisabledBackgroundBrush" Color="#eee" /> | |
<SolidColorBrush x:Key="ComboBoxDisabledBorderBrush" Color="#888" /> | |
<ControlTemplate TargetType="ToggleButton" x:Key="ComboBoxToggleButtonTemplate"> | |
<Grid> | |
<Grid.ColumnDefinitions> |
# Thanks to CodeWalker for the code to read .ypt files: https://github.com/dexyfex/CodeWalker | |
# | |
# Format: | |
# [asset_name] | |
# effect_name_1 | |
# effect_name_2 | |
# | |
[core] | |
bul_gravel_heli |
{ | |
"62870901": { | |
"HashKey": "WEAPON_SNOWLAUNCHER", | |
"NameGXT": "WT_SNOWLNCHR", | |
"DescriptionGXT": "WTD_SNOWLNCHR", | |
"Name": "Snowball Launcher", | |
"Description": "There's no greater gift than pummeling someone with rounds of festive cheer. With automatic reload, there's no time for anyone to disagree. Part of The Chop Shop.", | |
"Group": "GROUP_HEAVY", | |
"ModelHashKey": "W_LR_CompactSL_M32", | |
"DefaultClipSize": 20, |
As of server version 2377, support was added to FiveM to run a custom streaming proxy similar to cfx.re, but proxying the data connection (UDP) as well. This can be accomplished very easily with nginx acting as a proxy, and you can combine the caching proxy with it.
--[[ | |
Copyright 2022 ZeroDream | |
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: | |
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
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 |
Meta Fields - Pointer Handling | |
--------------------- | |
The Lua runtime allows specifying pointer or result types with native execution via Meta Fields found in the `Citizen` namespace: | |
- PointerValueInt | |
- PointerValueIntInitialized | |
- PointerValueFloat | |
- PointerValueVector | |
- ReturnResultAnyway |
Note: The code examples below should work on RedM. On other frameworks, you may need to adjust some function names.
To create a prompt, start with _UI_PROMPT_REGISTER_BEGIN (0x04F97DE45A519419)
, set up some settings, then finish with _UI_PROMPT_REGISTER_END (0xF7AA2696A22AD8B9)
. While there's a native to create prompts (_UI_PROMPT_CREATE (0x29FA7910726C3889)
), there aren't many exemples around.
A prompt basically needs a control and a text. You can find a list of controls here Controls (femga/rdr3_discoveries). The text has to be created with VAR_STRING (0xFA925AC00EB830B9)
.