This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20-2850920.csv | |
Rows Processed: 117,244, Additions: 109,962, Modifications: 3,147, Had No Effect: 4,135 | |
20-3749695.csv | |
Rows Processed: 256,321, Additions: 245,773, Modifications: 6,383, Had No Effect: 4,165 | |
26-0194016.csv | |
Rows Processed: 170,777, Additions: 165,908, Modifications: 4,721, Had No Effect: 148 | |
26-3603862.csv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RegisterNetEvent('cd_dispatch:PillboxBell') | |
AddEventHandler('cd_dispatch:PillboxBell', function() | |
QBCore.Functions.Notify('You rang the bell letting NHS know that you are here.', "primary", 7500) | |
local data = exports['cd_dispatch']:GetPlayerInfo() | |
TriggerServerEvent('cd_dispatch:AddNotification', { | |
job_table = {'ambulance'}, | |
coords = data.coords, | |
title = 'Somebody rang the bell at Pillbox', | |
message = 'Somebody rang the bell at Pillbox', | |
flash = 0, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RegisterNetEvent("919-admin:server:MonetaryAction", function(targetId, action, amount) | |
local src = source | |
if AdminPanel.HasPermission(src, "givetakemoney") then | |
if action == "givecash" then | |
Compat.PlayerActions.AddMoney(targetId, amount) | |
print("TARGETID", targetId) | |
print("name", getCharName(targetId)) | |
local logMessage = string.format("**STAFF MEMBER %s** added £%d to **%s[%d]** (%s)'s **wallet**", GetPlayerName(src), amount, GetPlayerName(targetId), targetId, getCharName(targetId)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import pandas as pd | |
import csv | |
# Export from database by running `SELECT citizenid, inventory FROM players;` | |
# Make sure to export using an app like TablePlus and use the `Quote if needed` option. This will not work if you export from HeidiSQL | |
# The output should look something like this | |
''' | |
citizenid,inventory | |
AFN86608,"[{""slot"":1,""name"":""weapon_nightstick"",""type"":""weapon"",""info"":{""serie"":""54yiL4at180nbcg"",""quality"":100},""amount"":1} |
OlderNewer