Skip to content

Instantly share code, notes, and snippets.

View UltraTechX's full-sized avatar
🎯
Focusing

Ultra (Fay) UltraTechX

🎯
Focusing
  • Philadelphia, Pennsylvania
View GitHub Profile
bool drawMap(string mapName, sf::Sprite Tiles[], sf::RenderWindow *window, int horizontal, int vertical, player *plr, bool *plrset) {
ifstream ifile("Maps/" + mapName + ".map");
if (ifile) {
ifile.close();
fstream readStream;
readStream.open("Maps/" + mapName + ".map", ios::in);
if (readStream.is_open()) {
string line;
int y = 0;
util.AddNetworkString("temp_timer_call")
--[[Init Temp]]--
curTemp = 1000
--[[CONFIGURATION VALUE:Delay Display Value on Chat]]--
temp_delay_message = 30
function ENT:AcceptInput(inputName, activator, called, data)
#Diemart
import mysql.connector
import discord
from discord.ext import commands
from discord.ext.commands import Bot
import asyncio
import datetime
from discord.utils import get
import time
import os
@name FIRE_DOOR
@inputs Door_Pad:number Door_PadTwo:number Door_ResetTwo:number Door_Reset:number
@outputs Door_Status:number
@persist Door_Status:number Door_ClosePos:vector Door_OpenPos:vector Door_Dir:number TotalMoveDist:number SoundPlayedOne:number SoundPlayedTwo:number
@trigger
findByModel("models/props_questionableethics/qe_blastdoor.mdl")
findSortByDistance(entity():pos())
Door = find()
bucket = route.bucket
method = route.method
url = route.url
lock = self._locks.get(bucket)
if lock is None:
lock = asyncio.Lock(loop=self.loop)
if bucket is not None:
self._locks[bucket] = lock
--[[
autorun - sh_waterizer.lua
by Meoo~we
]]--
-- Player, Move hook
hook.Add( "Move", "WaterizerHook", function( ply, move )
-- Player is touching water
if ply.w_WaterEnts then
local Water = false
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en-US"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en-US"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!--<![endif]-->
<head>
<title>Attention Required! | Cloudflare</title>
<meta charset="UTF-8" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
{
"eventName": "Coroutine Test Event",
"eventDescription": "Tests the coroutine node for Fay's Custom Events",
"creationDate": 1567929546,
"nodes": [
{
"nodeID": 1,
"nodeName": "SpawnNPCAdvanced",
"properties": [
{
// *******************************************************************
// presets 0-29 map to legacy room_type 0-29. Don't change order or #
// *******************************************************************
// # ptype mixrng dur fade dbmin mixdrop
// *** NULL PRESET ***
{ 0 LINEAR 0.2 0.7 0.0 0.0 80 0.5
{0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 }
}
// *** AUTO PRESET ***
@UltraTechX
UltraTechX / hammer.log
Created October 9, 2019 07:38
Hammer log from compile for entry from 3:38 AM 10/9/2019
** Executing...
** Command: "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\bin\vbsp.exe"
** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod" "c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\maps\vmfs\rp_powerplant_v3_cp"
FIND [C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Source\cstrike\*.vpk]
ADDING [C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Source\cstrike\cstrike_pak_000.vpk]
Adding Path: [C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Source\cstrike]
Valve Software - vbsp.exe (Sep 13 2019)
12 threads