Skip to content

Instantly share code, notes, and snippets.

@RainerHilmer
RainerHilmer / GTA4_DistanceTo_Replacements
Created June 8, 2013 17:25
Replacements for the DistanceTo and DistanceTo2D methods of the ScriptHookDotNet for GTA IV. Reason: the original ones produce unreliable results!
using System;
using GTA;
namespace Cyron43.GTAIV
{
public static class Extensions
{
/// <summary>
/// I know there's a DistanceTo2D in the scripthook but it delivers unreliable results!
/// </summary>
@RainerHilmer
RainerHilmer / Test4BlogEmbedding.cs
Created February 4, 2011 08:58
Just a test because I want to know how to embed gists into my blog.
public void Main()
{
Console.WriteLine("Hello world.");
}