Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
echo ""
echo "[Waiting for launcher to start]"
LAUNCHER_READY=
while [[ -z ${LAUNCHER_READY} ]]; do
UI_FOCUS=`adb shell dumpsys activity activities 2>/dev/null | grep -i mResumedActivity`
echo "(DEBUG) Current focus: ${UI_FOCUS}"
case $UI_FOCUS in
@alexbakker
alexbakker / index.md
Last active May 30, 2017 23:24 — forked from nta/index.md
title
Admin Guide

CitizenMP:IV Administrator's Guide

This document will describe the basic process involved in setting up a server for the CitizenMP:IV multiplayer platform. This guide will not go into script/resource development; such details are better left to dedicated guides.

It is assumed that the reader is knowledgable of the platform they are intending on setting up a server on, and has access to a development environment as currently no precompiled binaries are available from official sources.

#Note: This only works with mingw 3.0 or later (previous versions don't have pthreads)
#You need mingw 3.0 or later, yasm and cmake
#
#If you use something other than mingw-w64-i686 you must modify the script accordingly
#
#If you are on ubuntu 13.10:
#sudo apt-get install gcc-mingw-w64-i686 yasm cmake
mkdir prefix