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
<snippet> | |
<content><![CDATA[ | |
stock ${1:Prefix}_${2:Function}(${3:Tag:}${4:arg_1}${5:[optional]}${6:, }${7:Tag:}${8:arg_2}${9:[optional]}${10:, }${11:Tag:}${12:arg_3}${13:[optional]}) | |
{ | |
${2}(${4}${6}${8}${10}${12}); | |
return 1; | |
} | |
#if defined _ALS_${2} | |
#undef ${2} | |
#else |
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
/** | |
* This script will delete all group members which are displayed in a given page. | |
* | |
* @author: Nir Geier | |
* | |
* Usage: | |
* Load as many users as you need, then open console and paste this script in teh console. | |
* Once the script finished executing you will be see blank members page, reload the next | |
* page and start the process again. | |
* |
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
var deleteAllGroupMembers = (function () { | |
var deleteAllGroupMembers = {}; | |
// the facebook ids of the users that will not be removed. | |
// IMPORTANT: add your own facebook id here so that the script will not remove yourself! | |
var excludedFbIds = ['1234','11223344']; // make sure each id is a string! | |
var usersToDeleteQueue = []; | |
var scriptEnabled = false; | |
var processing = false; | |
deleteAllGroupMembers.start = function() { |
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
/** | |
* This script will remove all group members displayed. | |
* | |
* @author: Nir Geier | |
* | |
* Usage: | |
* Load as many users as you need, then open console and paste this script in the | |
* console. | |
* | |
* Once the script finished executing, the page will autoreload. |
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
<?php | |
// Configs for phpbb database | |
$servername = "localhost"; | |
$username = "username"; | |
$password = "password"; | |
$dbname = "phpbbDatabase"; | |
$fileName = "flaurm.sql"; | |
$phpprefix = "phpbb_"; | |
//Sets the inital id for the new users posts and discussions set if you know you have more then 1000 users change. | |
$id = 1000; |
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
var deleteAllGroupMembers = (function () { | |
var excludedFbIds = ['100005315525880']; /*########## Replace number between single quotes with your own Facebook ID. DO NOT REMOVE THE SINGLE QUOTES! ##########*/ | |
var deleteAllGroupMembers = {}; | |
var usersToDeleteQueue = []; | |
var scriptEnabled = false; | |
var processing = false; | |
var memberCount = document.getElementsByClassName('_5bv4')[0].lastChild; | |
deleteAllGroupMembers.start = function() { |
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
local scopes = {} | |
AddEventHandler("playerEnteredScope", function(data) | |
local playerEntering, player = data["player"], data["for"] | |
if not scopes[player] then | |
scopes[player] = {} | |
end | |
scopes[player][playerEntering] = true |
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
[ | |
{ | |
"name": "txmaster", | |
"master": true, | |
"password_temporary": true, | |
"password_hash": "$2a$12$JterWfFQx1abyi.OBKTIW.mOiHl7wrlyaTnz21SmygI20qO2xIdu2", | |
"providers": {}, | |
"permissions": [] | |
} | |
] |
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
RegisterCommand("tp", function(source, args, rawCommand) | |
local waypointBlip = GetFirstBlipInfoId(GetWaypointBlipEnumId()) | |
local blipPos = GetBlipInfoIdCoord(waypointBlip) -- GetGpsWaypointRouteEnd(false, 0, 0) | |
local z = GetHeightmapTopZForPosition(blipPos.x, blipPos.y) | |
local _, gz = GetGroundZFor_3dCoord(blipPos.x, blipPos.y, z, true) | |
SetEntityCoords(PlayerPedId(), blipPos.x, blipPos.y, z, true, false, false, false) | |
FreezeEntityPosition(PlayerPedId(), true) |
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
lib.onCache('ped', function(value) | |
SetPedConfigFlag(value, 241, true) -- PED_FLAG_DISABLE_STOPPING_VEHICLE_ENGINE | |
SetPedConfigFlag(value, 429, true) -- PED_FLAG_DISABLE_STARTING_VEHICLE_ENGINE | |
end) | |
lib.addKeybind({ | |
name = 'engine', | |
description = 'Engine', | |
defaultKey = 'Y', | |
onPressed = function(self) |
OlderNewer