Skip to content

Instantly share code, notes, and snippets.

#[=======================================================================[.rst:
FindPluginSDK
-------------
FindModule for Plugin-SDK library (https://github.com/DK22Pac/plugin-sdk).
COMPONENTS
^^^^^^^^^^
This module respects several components: ``gta3``, ``gtavc``, and ``gtasa``.
--[[ Opcodes
shakeCam(int shake) -- 0003
Player player = createPlayer(Model modelId, float atX, float atY, float atZ) -- 0053
Ped ped = createChar(int pedtype, Model modelId, float atX, float atY, float atZ) -- 009A
deleteChar(Ped ped) -- 009B
float positionX, float positionY, float positionZ = getCharCoordinates(Ped ped) -- 00A0
setCharCoordinates(Ped ped, float posX, float posY, float posZ) -- 00A1
bool result = isCharInArea2d(Ped ped, float cornerAX, float cornerAY, float cornerBX, float cornerBY, bool sphere) -- 00A3
bool result = isCharInArea3d(Ped ped, float cornerAX, float cornerAY, float cornerAZ, float cornerBX, float cornerBY, float cornerBZ, bool sphere) -- 00A4
Vehicle car = createCar(Model modelId, float atX, float atY, float atZ) -- 00A5
@fathergoose
fathergoose / bash-cheatsheet.sh
Created June 27, 2016 21:19 — forked from LeCoupa/bash-cheatsheet.sh
Bash CheatSheet for UNIX Systems
#!/bin/bash
#####################################################
# Name: Bash CheatSheet for Mac OSX
#
# A little overlook of the Bash basics
#
# Usage:
#
# Author: J. Le Coupanec
# Date: 2014/11/04