Skip to content

Instantly share code, notes, and snippets.

View cm8263's full-sized avatar
💭
Exploring new things

Christopher cm8263

💭
Exploring new things
View GitHub Profile
@cm8263
cm8263 / edit.js
Created June 22, 2023 04:22
Hacky changes to Sentral Education's Sickbay Edit Screen. Requires something like https://github.com/Ruud14/Page-Manipulator.
let interval;
let checkedOut;
const isNew = window.location.href.split("/").pop().toLowerCase() === "new";
const injection = () => {
const mainControls = document.querySelector(".content-box-controls");
if (mainControls === null) {
console.log("No sick bay controls found, dipping out.");
return;
@cm8263
cm8263 / register.js
Created June 22, 2023 04:21
Hacky changes to Sentral Education's Sickbay Register Screen. Requires something like https://github.com/Ruud14/Page-Manipulator.
const config = {
cats: false
}
///
let catImage;
let lastResults;
injection = async () => {
{
"Abattoir Ave":25,
"Abe Milton Pkwy":35,
"Ace Jones Dr":35,
"Adam's Apple Blvd":35,
"Aguja St":35,
"Algonquin Blvd":45,
"Alhambra Dr":35,
"Alta Pl":25,
"Alta St":45,
-- Matrix Board Version 1.0
--
-- Copyright (c) 2019-2020, Christopher M. All rights reserved.
--
-- This project is licensed under the following:
-- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to use, copy, modify, and merge the software, under 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 DEALINGS IN THE SOFTWARE. THE SOFTWARE MAY NOT BE SOLD.
--
@cm8263
cm8263 / client.lua
Last active March 2, 2020 03:39
Ped flee script 2.0
-- Script idea by Hazey17, coded by Inferno (Christopher M.)
-- Last Entity Ped aimed at
local LastEntity = false
-- Last vehicle aimed at
local LastVehicle = false
-- Able to rob ped
local AbleToRob = false
-- Currently robbing ped
local Robbing = false