Skip to content

Instantly share code, notes, and snippets.

View michael-fa's full-sized avatar

toketwo michael-fa

View GitHub Profile
#include <core>
#include <console>
#include <fixed>
#include <string>
#include <file>
#include <time>
#include <datagram>
//TelePawn Core (this would later come in an include file..)
native printc(msg[]);
@michael-fa
michael-fa / multilang.inc
Last active December 18, 2022 20:22
samp-multilang-system
// @ GITHUB USER: SCROLL DOWN TO .MD FILE FOR INFO & 'DOCS'
// Dont know what to do? Like, defining the Languages (which's pretty easy to me) or defined TextID's to read from file?
// Look at https://gist.github.com/michael-fa/c48b758742eecdfe21dc041fe95f57ed where this file probably came from!
// THIS SCRIPT NEEDS DINI2 TO WORK!
//ADD LANGUAGES HERE IF YOU WANT TO
enum Languages {
ENG,
@michael-fa
michael-fa / fadescreen-samp.md
Last active December 8, 2019 21:16
SA:MP Fadescreen Util

Fadescreen Util (Actual code in gist below!)

Easy to use, just use FadePlayerScreen function!

  • playerid: which players screen is being faded in/out
  • inout : fade in or out? 0:out | 1:in
  • bascl : basecolor of the screen basically
  • pWaitFor: wait for X seconds after first execution of function <= is set to 50ms as default

Sorry for not writing more but it's just more like a dump for me.

@michael-fa
michael-fa / overworld.md
Last active December 25, 2023 01:58
Minecraft true 100% 'Things to do' List

alt text

(Copyright not by me or anyone contributing anything to this document!)




⭐ 100% "To do" List for Minecraft Survival 1.14.4 ⭐

/// <summary>
/// A basic implementation of a pretty-printer or syntax highlighter for C# soure code.
/// </summary>
public class SourceColorer
{
private string _commentCssClass;
private string _keywordCssClass;
private string _quotesCssClass;
private string _typeCssClass;
private bool _addStyleDefinition;
@michael-fa
michael-fa / kttk.txt
Created February 6, 2018 19:37
Keys to the Kingdom
VISUAL STUDIO 2015 PROFESSIONAL
HMGNV-WCYXV-X7G9W-YCX63-B98R2 (Last check: 06.02.2018 - DD.MM.JJ)