Здесь перечислены все глобальные функции, события, переменные и константы, которые добавляет MoonLoader для Lua скриптов. Список включает и те, для которых ещё не написаны статьи.
Для получения статей из определенных категорий можно воспользоваться фильтром по тегам: функции, события, переменные, константы, классы.
Информация о типах параметров располагается на странице Типы данных MoonLoader.
Если функция помечена красным цветом, то страница с описание отсутствует, его следует искать на сайте Sanny Builder.
Lua |
---|
bool result = isCursorActive() |
table pickups = getAllPickups() |
int handle = getPickupPointerHandle(Pickup pickup) |
int pointer = getPickupPointer(Pickup pickup) |
int type = getPickupType(Pickup pickup) |
int model = getPickupModel(Pickup pickup) |
float x, float y, float z, float w = getObjectQuaternion(Object object) |
setObjectQuaternion(Object object, float x, float y, float z, float w) |
float x, float y, float z, float w = getVehicleQuaternion(Vehicle car) |
setVehicleQuaternion(Vehicle car, float x, float y, float z, float w) |
float x, float y, float z, float w = getCharQuaternion(Ped ped) |
setCharQuaternion(Ped ped, float x, float y, float z, float w) |
AudioStream handle = loadAudioStream(zstring audio) |
setAudioStreamState(AudioStream handle, int state) |
releaseAudioStream(AudioStream handle) |
double length = getAudioStreamLength(AudioStream handle) |
int state = getAudioStreamState(AudioStream handle) |
float volume = getAudioStreamVolume(AudioStream audio) |
setAudioStreamVolume(AudioStream audio, float volume) |
setAudioStreamLooped(AudioStream audio, bool loop) |
AudioStream handle = load3dAudioStream(zstring audio) |
setPlay3dAudioStreamAtCoordinates(AudioStream handle, float posX, float posY, float posZ) |
setPlay3dAudioStreamAtObject(AudioStream audio, Object object) |
setPlay3dAudioStreamAtChar(AudioStream audio, Ped ped) |
setPlay3dAudioStreamAtCar(AudioStream audio, Vehicle car) |
AudioStream handle = loadAudioStreamFromMemory(uint address, uint size) |
AudioStream handle = load3dAudioStreamFromMemory(uint address, uint size) |
renderDrawLine(float pos1X, float pos1Y, float pos2X, float pos2Y, float width, uint color) |
renderDrawBox(float posX, float posY, float sizeX, float sizeY, uint color) |
renderDrawBoxWithBorder(float posX, float posY, float sizeX, float sizeY, uint color, float bsize, uint bcolor) |
float length = renderGetFontDrawTextLength(DxFont font, zstring text, [bool ignoreColorTags=false]) |
float height = renderGetFontDrawHeight(DxFont font) |
uint index = renderGetFontCharIndexAt(DxFont font, string text, float x, [bool ignoreColorTags=false]) |
float width = renderGetFontCharWidth(DxFont font, string/uint char) |
DxFont font = renderCreateFont(zstring font, int height, uint flags, [uint charset]) |
renderReleaseFont(DxFont font) |
renderFontDrawText(DxFont font, zstring text, float posX, float posY, uint color, [bool ignoreColorTags=false]) |
renderDrawPolygon(float posX, float posY, float sizeX, float sizeY, int corners, float rotation, uint color) |
DxTexture texture = renderLoadTextureFromFile(zstring file) |
renderReleaseTexture(DxTexture texture) |
renderDrawTexture(DxTexture texture, float posX, float posY, float sizeX, float sizeY, float rotation, uint color) |
renderBegin(int type) |
renderEnd() |
renderColor(uint color) |
renderVertex(float vX, float vY) |
renderSetTexCoord(float posX, float posY) |
renderBindTexture(DxTexture texture) |
uint struct = renderGetTextureStruct(DxTexture texture) |
uint sprite = renderGetTextureSprite(DxTexture texture) |
uint sizeX, uint sizeY = renderGetTextureSize(DxTexture texture) |
renderSetRenderState(int state, uint value) |
DxTexture texture = renderLoadTextureFromFileInMemory(uint pointer, uint size) |
script_version_number(int version) |
script_version(string version) |
script_name(string name) |
script_description(string description) |
script_authors(string author, ...) |
script_author(string author) |
script_dependencies(string name, ...) |
script_moonloader(int version) |
LuaScript s = thisScript() |
wait(int time) |
print(any value, ...) |
int value = getGameGlobal(int index) |
setGameGlobal(int index, int value) |
uint ptr = getGameGlobalPtr(int index) |
bool loaded = isSampfuncsLoaded() |
bool loaded = isCleoLoaded() |
bool loaded = isSampLoaded() |
bool state = isKeyDown(int keyId) |
reloadScripts() |
bool status = isOpcodesAvailable() |
int i = representFloatAsInt(float f) |
float i = representIntAsFloat(int i) |
setGxtEntry(string key, string text) |
string key = setFreeGxtEntry(string text) |
string key = getFreeGxtKey() |
string text = getGxtText(string key) |
clearGxtEntry(string key) |
bool active = isPauseMenuActive() |
bool foreground = isGameWindowForeground() |
int major, int minor, int majorRev, int minorRev, int game, int region, bool steam, bool cracked = getGameVersion() |
int version = getMoonloaderVersion() |
double time = localClock() |
freeTextures() |
string path = getWorkingDirectory() |
string path = getGameDirectory() |
useRenderCommands(bool enable) |
writeMemory(uint address, uint size, int value, bool virtualProtect) |
int value = readMemory(uint address, uint size, bool virtualProtect) |
bool result, uint handle = loadDynamicLibrary(string library) |
freeDynamicLibrary(uint handle) |
bool result, uint proc = getDynamicLibraryProcedure(string proc, uint handle) |
bool result = doesFileExist(string file) |
bool result = doesDirectoryExist(string directory) |
bool result = createDirectory(string directory) |
float val = popFloat() |
bool result = isGameVersionOriginal() |
uint memory = allocateMemory(uint size) |
freeMemory(uint memory) |
Filesearch handle, string name = findFirstFile(string mask) |
string file = findNextFile(Filesearch handle) |
findClose(Filesearch handle) |
bool result, Ped ped = findAllRandomCharsInSphere(float posX, float posY, float posZ, float radius, bool findNext, bool skipDead) |
bool result, Vehicle car = findAllRandomVehiclesInSphere(float posX, float posY, float posZ, float radius, bool findNext, bool skipWrecked) |
bool result, Object object = findAllRandomObjectsInSphere(float posX, float posY, float posZ, float radius, bool findNext) |
uint ptr = getCharPointer(Ped ped) |
uint ptr = getCarPointer(Vehicle car) |
uint struct = getObjectPointer(Object object) |
int returnValue = callFunction(uint address, int params, int pop, ...) |
int returnValue = callMethod(uint address, int struct, int params, int pop, ...) |
Vehicle car, Ped ped = storeClosestEntities(Ped ped) |
switchCarEngine(Vehicle car, bool state) |
bool result, float posX, float posY, float posZ = getTargetBlipCoordinates() |
int gears = getCarNumberOfGears(Vehicle car) |
int gear = getCarCurrentGear(Vehicle car) |
bool state = isCarSirenOn(Vehicle car) |
bool state = isCarEngineOn(Vehicle car) |
printHelpString(string text) |
printStyledString(string text, int time, int style) |
printString(string text, int time) |
printStringNow(string text, int time) |
bool result, Ped ped = getCharPlayerIsTargeting(Player player) |
GxtString name = getNameOfVehicleModel(Model modelId) |
bool result = testCheat(string text) |
bool result = spawnVehicleByCheating(Model modelId) |
Ped handle = getCharPointerHandle(uint ptr) |
Vehicle handle = getVehiclePointerHandle(uint ptr) |
Object handle = getObjectPointerHandle(uint ptr) |
bool result, table colPoint = processLineOfSight(float originX, float originY, float originZ, float targetX, float targetY, float targetZ, [bool checkSolid=true], [bool car=false], [bool ped=false], [bool object=false], [bool particle=false], [bool seeThrough=false], [bool ignoreSomeObjects=false], [bool shootThrough=false]) |
bool result = setClipboardText(string text) |
string text = getClipboardText() |
int value = getStructElement(uint struct, int offset, uint size, [bool unprotect=false]) |
setStructElement(uint struct, int offset, uint size, int value, [bool unprotect=false]) |
float w, float x, float y, float z = convertMatrixToQuaternion(float rightX, float rightY, float rightZ, float frontX, float frontY, float frontZ, float upX, float upY, float upZ) |
float rightX, float rightY, float rightZ, float frontX, float frontY, float frontZ, float upX, float upY, float upZ = convertQuaternionToMatrix(float w, float x, float y, float z) |
float wposX, float wposY = convert3DCoordsToScreen(float posX, float posY, float posZ) |
setGameKeyState(int key, int state) |
int posX, int posY = getCursorPos() |
float gposX, float gposY = convertWindowScreenCoordsToGameScreenCoords(float wposX, float wposY) |
float wposX, float wposY = convertGameScreenCoordsToWindowScreenCoords(float gposX, float gposY) |
float posX, float posY, float posZ = convertScreenCoordsToWorld3D(float posX, float posY, float depth) |
uint handle = getModuleHandle(string module) |
uint address = getModuleProcAddress(string module, string proc) |
setVirtualKeyDown(int vkey, bool down) |
setCharKeyDown(int ckey, bool down) |
int index = downloadUrlToFile(string url, string file, function statusCallback) |
bool state = isKeyJustPressed(int key) |
bool result, float x, float y, float z, float w, float h = convert3DCoordsToScreenEx(float posX, float posY, float posZ, [bool checkMin=false], [bool checkMax=false]) |
float value = getStructFloatElement(uint struct, int offset, [bool unprotect=false]) |
setStructFloatElement(uint struct, int offset, float value, [bool unprotect=false]) |
bool state = wasKeyPressed(int key) |
bool state = wasKeyReleased(int key) |
int delta = getMousewheelDelta() |
consumeWindowMessage([bool game=true], [bool scripts=true]) |
addEventHandler(string eventName, function callback) |
bool paused = isGamePaused() |
double time = gameClock() |
script_properties(string property, ...) |
script_url(string url) |
any imports = import(string filename) |
string json = encodeJson(table data) |
table data = decodeJson(string json) |
showCursor(bool show, [bool lockControls]) |
lockPlayerControl(bool lock) |
bool locked = isPlayerControlLocked() |
bool result = setBlipCoordinates(Marker blip, float x, float y, float z) |
bool result = setTargetBlipCoordinates(float x, float y, float z) |
bool result = placeWaypoint(float x, float y, float z) |
bool result = removeWaypoint() |
string path = getFolderPath(int csidl) |
float value = getTimeStepValue() |
uint devicePtr = getD3DDevicePtr() |
table objects = getAllObjects() |
table peds = getAllChars() |
table vehicles = getAllVehicles() |
float value = getGameGlobalFloat(int index) |
setGameGlobalFloat(int index, float value) |
LuaScript s = script.load(string file) |
LuaScript s = script.find(string name) |
table list = script.list() |
LuaScript script = script.get(int scriptId) |
script.this |
table data = inicfg.load([table default], [string file]) |
bool result = inicfg.save(table data, [string file]) |
int value = memory.read(uint address, uint size, [bool unprotect=false]) |
memory.write(uint address, int value, uint size, [bool unprotect=false]) |
int value = memory.getint8(uint address, [bool unprotect=false]) |
bool result = memory.setint8(uint address, int byte, [bool unprotect=false]) |
int value = memory.getint16(uint address, [bool unprotect=false]) |
bool result = memory.setint16(uint address, int word, [bool unprotect=false]) |
int value = memory.getint32(uint address, [bool unprotect=false]) |
bool result = memory.setint32(uint address, int dword, [bool unprotect=false]) |
double value = memory.getint64(uint address, [bool unprotect=false]) |
bool result = memory.setint64(uint address, double qword, [bool unprotect=false]) |
int value = memory.getuint8(uint address, [bool unprotect=false]) |
bool result = memory.setuint8(uint address, int byte, [bool unprotect=false]) |
int value = memory.getuint16(uint address, [bool unprotect=false]) |
bool result = memory.setuint16(uint address, int word, [bool unprotect=false]) |
int value = memory.getuint32(uint address, [bool unprotect=false]) |
bool result = memory.setuint32(uint address, int dword, [bool unprotect=false]) |
double value = memory.getuint64(uint address, [bool unprotect=false]) |
bool result = memory.setuint64(uint address, double qword, [bool unprotect=false]) |
float value = memory.getfloat(uint address, [bool unprotect=false]) |
bool result = memory.setfloat(uint address, float value, [bool unprotect=false]) |
double value = memory.getdouble(uint address, [bool unprotect=false]) |
bool result = memory.setdouble(uint address, double value, [bool unprotect=false]) |
int oldProtection = memory.unprotect(uint address, uint size) |
int oldProtection = memory.protect(uint address, uint size, int newProtection) |
memory.copy(uint destAddress, uint srcAddress, uint size, [bool unprotect=false]) |
bool result = memory.compare(uint address1, uint address2, uint size, [bool unprotect=false]) |
string str = memory.tostring(uint address, [uint size], [bool unprotect=false]) |
string hexstr = memory.tohex(uint address, uint size, [bool unprotect=false]) |
bool result = memory.hex2bin(string hex, uint dstAddress, uint size) |
string bin = memory.hex2bin(string hex) |
memory.fill(uint address, int value, uint size, [bool unprotect=false]) |
uint address = memory.strptr(string str) |
LuaThread thread = lua_thread.create(function func, ...) |
LuaThread thread = lua_thread.create_suspended(function func) |
shakeCam(int shake) |
Player player = createPlayer(Model modelId, float atX, float atY, float atZ) |
Ped ped = createChar(int pedtype, Model modelId, float atX, float atY, float atZ) |
deleteChar(Ped ped) |
float positionX, float positionY, float positionZ = getCharCoordinates(Ped ped) |
setCharCoordinates(Ped ped, float posX, float posY, float posZ) |
bool result = isCharInArea2d(Ped ped, float cornerAX, float cornerAY, float cornerBX, float cornerBY, bool sphere) |
bool result = isCharInArea3d(Ped ped, float cornerAX, float cornerAY, float cornerAZ, float cornerBX, float cornerBY, float cornerBZ, bool sphere) |
Vehicle car = createCar(Model modelId, float atX, float atY, float atZ) |
deleteCar(Vehicle car) |
carGotoCoordinates(Vehicle car, float driveToX, float driveToY, float driveToZ) |
carWanderRandomly(Vehicle car) |
carSetIdle(Vehicle car) |
float positionX, float positionY, float positionZ = getCarCoordinates(Vehicle car) |
setCarCoordinates(Vehicle car, float atX, float atY, float atZ) |
setCarCruiseSpeed(Vehicle car, float maxSpeed) |
setCarDrivingStyle(Vehicle car, int behaviour) |
setCarMission(Vehicle car, int driverBehaviour) |
bool result = isCarInArea2d(Vehicle car, float cornerAX, float cornerAY, float cornerBX, float cornerBY, bool sphere) |
bool result = isCarInArea3d(Vehicle car, float cornerAX, float cornerAY, float cornerAZ, float cornerBX, float cornerBY, float cornerBZ, bool sphere) |
printBig(GxtString gxtString, int time, int style) |
printText(GxtString gxtString, int time, int flag) |
printTextNow(GxtString gxtString, int time, int flag) |
clearPrints() |
int hours, int mins = getTimeOfDay() |
setTimeOfDay(int hours, int minutes) |
int minutes = getMinutesToTimeOfDay(int hours, int minutes) |
bool result = isPointOnScreen(float sphereX, float sphereY, float sphereZ, float radius) |
Vehicle car = storeCarCharIsIn(Ped ped) |
bool result = isCharInCar(Ped ped, Vehicle car) |
bool result = isCharInModel(Ped ped, Model carModel) |
bool result = isCharInAnyCar(Ped ped) |
bool result = isButtonPressed(Player player, int key) |
int state = getPadState(Player player, int key) |
bool result = locateCharAnyMeans2d(Ped ped, float pointX, float pointY, float radiusX, float radiusY, bool sphere) |
bool result = locateCharOnFoot2d(Ped ped, float pointX, float pointY, float radiusX, float radiusY, bool sphere) |
bool result = locateCharInCar2d(Ped ped, float pointX, float pointY, float radiusX, float radiusY, bool sphere) |
bool result = locateStoppedCharAnyMeans2d(Ped ped, float pointX, float pointY, float radiusX, float radiusY, bool sphere) |
bool result = locateStoppedCharOnFoot2d(Ped ped, float pointX, float pointY, float radiusX, float radiusY, bool sphere) |
bool result = locateStoppedCharInCar2d(Ped ped, float pointX, float pointY, float radiusX, float radiusY, bool sphere) |
bool result = locateCharAnyMeansChar2d(Ped ped, Ped nearPed, float radiusX, float radiusY, bool sphere) |
locateCharOnFootChar2d(Ped ped, Ped nearPed, float radiusX, float radiusY, bool sphere) |
bool result = locateCharInCarChar2d(Ped ped, Ped nearPed, float radiusX, float radiusY, bool sphere) |
bool result = locateCharAnyMeans3d(Ped ped, float sphereX, float sphereY, float sphereZ, float radiusX, float radiusY, float radiusZ, bool sphere) |
bool result = locateCharOnFoot3d(Ped ped, float sphereX, float sphereY, float sphereZ, float radiusX, float radiusY, float radiusZ, bool sphere) |
bool result = locateCharInCar3d(Ped ped, float sphereX, float sphereY, float sphereZ, float radiusX, float radiusY, float radiusZ, bool sphere) |
bool result = locateStoppedCharAnyMeans3d(Ped ped, float sphereX, float sphereY, float sphereZ, float radiusX, float radiusY, float radiusZ, bool sphere) |
bool result = locateStoppedCharOnFoot3d(Ped ped, float sphereX, float sphereY, float sphereZ, float radiusX, float radiusY, float radiusZ, bool sphere) |
bool result = locateStoppedCharInCar3d(Ped ped, float sphereX, float sphereY, float sphereZ, float radiusX, float radiusY, float radiusZ, bool sphere) |
bool result = locateCharAnyMeansChar3d(Ped ped, Ped nearPed, float radiusX, float radiusY, float radiusZ, bool sphere) |
bool result = locateCharOnFootChar3d(Ped ped, Ped nearPed, float radiusX, float radiusY, float radiusZ, bool sphere) |
bool result = locateCharInCarChar3d(Ped ped, Ped nearPed, float radiusX, float radiusY, float radiusZ, bool sphere) |
Object object = createObject(Model modelId, float atX, float atY, float atZ) |
deleteObject(Object object) |
givePlayerMoney(Player player, int money) |
int money = getPlayerMoney(Player player) |
giveRemoteControlledCarToPlayer(Player player, float float2, float float3, float float4) |
alterWantedLevel(Player player, int wantedLevel) |
alterWantedLevelNoDrop(Player player, int minimumWantedLevel) |
bool result = isWantedLevelGreater(Player player, int level) |
clearWantedLevel(Player player) |
setDeatharrestState(bool value) |
bool result = hasDeatharrestBeenExecuted() |
addAmmoToChar(Ped ped, int weapon, int ammo) |
bool result = isPlayerDead(Player player) |
bool result = isCharDead(Ped ped) |
bool result = isCarDead(Vehicle car) |
bool result = isPlayerPressingHorn(Player player) |
Ped ped = createCharInsideCar(Vehicle car, Model pedtype, int model) |
bool result = isCarModel(Vehicle car, Model modelId) |
int carGenerator = createCarGenerator(float atX, float atY, float atZ, float angle, Model modelId, int color1, int color2, bool forceSpawn, int alarm, int doorLock, int minDelay, int maxDelay) |
switchCarGenerator(int carGenerator, int carsToGenerate) |
displayOnscreenTimer(VarId var, bool countInDirection) |
clearOnscreenTimer(VarId var) |
clearOnscreenCounter(VarId var) |
bool result = isCharInZone(Ped ped, GxtString zoneName) |
pointCameraAtCar(Vehicle car, int mode, int switchstyle) |
pointCameraAtChar(Ped ped, int mode, int switchstyle) |
restoreCamera() |
shakePad(Player player, int time, int intensity) |
setTimeScale(float gamespeed) |
setFixedCameraPosition(float positionX, float positionY, float positionZ, float rotationX, float rotationY, float rotationZ) |
pointCameraAtPoint(float pointAtX, float pointAtY, float pointAtZ, int switchstyle) |
Marker marker = addBlipForCarOld(Vehicle car, int unused, bool visibility) |
Marker marker = addBlipForCharOld(Ped ped, int int2, int int3) |
removeBlip(Marker marker) |
changeBlipColour(Marker marker, int color) |
Marker marker = addBlipForCoordOld(float atX, float atY, float atZ, int color, int flag) |
changeBlipScale(Marker marker, int size) |
setFadingColour(int r, int g, int b) |
doFade(bool in, int time) |
bool result = getFadingStatus() |
addHospitalRestart(float atX, float atY, float atZ, float angle, int townNumber) |
addPoliceRestart(float atX, float atY, float atZ, float angle, int townNumber) |
overrideNextRestart(float atX, float atY, float atZ, float angle) |
drawShadow(Particle particle, float atX, float atY, float atZ, float rotationFactor, float size, int intensity, int flags1, int flags2, int flags3) |
float angle = getCharHeading(Ped ped) |
setCharHeading(Ped ped, float angle) |
float angle = getCarHeading(Vehicle car) |
setCarHeading(Vehicle car, float angle) |
float angle = getObjectHeading(Object object) |
setObjectHeading(Object object, float angle) |
bool result = isCharTouchingObject(Ped ped, Object object) |
setCharAmmo(Ped ped, int weapon, int ammo) |
declareMissionFlag(VarId flag) |
Marker marker = addBlipForCar(Vehicle car) |
Marker marker = addBlipForChar(Ped ped) |
Marker marker = addBlipForObject(Object object) |
Checkpoint checkpoint = addBlipForCoord(float atX, float atY, float atZ) |
changeBlipDisplay(Marker marker, int mode) |
addOneOffSound(float atX, float atY, float atZ, int sound) |
int unk = addContinuousSound(float atX, float atY, float atZ, int sound) |
removeSound(int sound) |
bool result = isCarStuckOnRoof(Vehicle car) |
addUpsidedownCarCheck(Vehicle car) |
removeUpsidedownCarCheck(Vehicle car) |
bool result = isCharInAreaOnFoot2d(Ped ped, float cornerAX, float cornerAY, float cornerBX, float cornerBY, bool sphere) |
bool result = isCharInAreaInCar2d(Ped ped, float cornerAX, float cornerAY, float cornerBX, float cornerBY, bool sphere) |
bool result = isCharStoppedInArea2d(Ped ped, float cornerAX, float cornerAY, float cornerBX, float cornerBY, bool sphere) |
bool result = isCharStoppedInAreaOnFoot2d(Ped ped, float cornerAX, float cornerAY, float cornerBX, float cornerBY, bool sphere) |
bool result = isCharStoppedInAreaInCar2d(Ped ped, float cornerAX, float cornerAY, float cornerBX, float cornerBY, bool sphere) |
bool result = isCharInAreaOnFoot3d(Ped ped, float cornerAX, float cornerAY, float cornerAZ, float cornerBX, float cornerBY, float cornerBZ, bool sphere) |
bool result = isCharInAreaInCar3d(Ped ped, float cornerAX, float cornerAY, float cornerAZ, float cornerBX, float cornerBY, float cornerBZ, bool sphere) |
bool result = isCharStoppedInArea3d(Ped ped, float cornerAX, float cornerAY, float cornerAZ, float cornerBX, float cornerBY, float cornerBZ, bool sphere) |
bool result = isCharStoppedInAreaOnFoot3d(Ped ped, float cornerAX, float cornerAY, float cornerAZ, float cornerBX, float cornerBY, float cornerBZ, bool sphere) |
bool result = isCharStoppedInAreaInCar3d(Ped ped, float cornerAX, float cornerAY, float cornerAZ, float cornerBX, float cornerBY, float cornerBZ, bool sphere) |
bool result = isCarStoppedInArea2d(Vehicle car, float cornerAX, float cornerAY, float cornerBX, float cornerBY, bool sphere) |
bool result = isCarStoppedInArea3d(Vehicle car, float cornerAX, float cornerAY, float cornerAZ, float cornerBX, float cornerBY, float cornerBZ, bool sphere) |
bool result = locateCar2d(Vehicle car, float pointX, float pointY, float radiusX, float radiusY, bool sphere) |
bool result = locateStoppedCar2d(Vehicle car, float pointX, float pointY, float radiusX, float radiusY, bool sphere) |
bool result = locateCar3d(Vehicle car, float sphereX, float sphereY, float sphereZ, float radiusX, float radiusY, float radiusZ, bool sphere) |
bool result = locateStoppedCar3d(Vehicle car, float sphereX, float sphereY, float sphereZ, float radiusX, float radiusY, float radiusZ, bool sphere) |
giveWeaponToChar(Ped ped, int weapon, int ammo) |
bool result = setPlayerControl(Player player, bool canMove) |
bool result = forceWeather(int weather) |
bool result = forceWeatherNow(int weather) |
releaseWeather() |
setCurrentCharWeapon(Ped ped, int weapon) |
bool result, float positionX, float positionY, float positionZ = getObjectCoordinates(Object object) |
bool result = setObjectCoordinates(Object object, float atX, float atY, float atZ) |
int timeMs = getGameTimer() |
bool result, int level = storeWantedLevel(Player player) |
bool result = isCarStopped(Vehicle car) |
markCharAsNoLongerNeeded(Ped ped) |
markCarAsNoLongerNeeded(Vehicle car) |
markObjectAsNoLongerNeeded(Object object) |
dontRemoveChar(Ped ped) |
dontRemoveObject(Object object) |
bool result, Ped ped = createCharAsPassenger(Vehicle car, Model pedtype, int model, int passengerSeat) |
bool result = printWithNumberBig(GxtString gxtString, int number, int time, int style) |
bool result = printWithNumber(GxtString gxtString, int number, int time, int flag) |
bool result = printWithNumberNow(GxtString gxtString, int number, int time, int flag) |
bool result = switchRoadsOn(float cornerAX, float cornerAY, float cornerAZ, float cornerBX, float cornerBY, float cornerBZ) |
switchRoadsOff(float cornerAX, float cornerAY, float cornerAZ, float cornerBX, float cornerBY, float cornerBZ) |
bool result, int passengers = getNumberOfPassengers(Vehicle car) |
int maxPassengers = getMaximumNumberOfPassengers(Vehicle car) |
bool result = setCarDensityMultiplier(float multiplier) |
bool result = setCarHeavy(Vehicle car, bool heavy) |
setMaxWantedLevel(int level) |
bool result = isCarInAirProper(Vehicle car) |
bool result = isCarUpsidedown(Vehicle car) |
bool result, Ped ped = getPlayerChar(Player player) |
bool result = cancelOverrideRestart() |
bool result = setPoliceIgnorePlayer(Player player, bool ignored) |
bool result = startKillFrenzy(GxtString gxtString, int weapon, int timeLimit, int targets, Model targetModels1, Model targetModels2, Model targetModels3, Model targetModels4, bool completedText) |
bool result, int status = readKillFrenzyStatus() |
bool result = locateCharAnyMeansCar2d(Ped ped, Vehicle car, float radiusX, float radiusY, bool sphere) |
bool result = locateCharOnFootCar2d(Ped ped, Vehicle car, float radiusX, float radiusY, bool flag) |
bool result = locateCharInCarCar2d(Ped ped, Vehicle car, float radiusX, float radiusY, bool sphere) |
bool result = locateCharAnyMeansCar3d(Ped ped, Vehicle car, float radiusX, float radiusY, float radiusZ, bool flag) |
bool result = locateCharOnFootCar3d(Ped ped, Vehicle car, float radiusX, float radiusY, float radiusZ, bool flag) |
bool result = locateCharInCarCar3d(Ped ped, Vehicle car, float radiusX, float radiusY, float radiusZ, bool flag) |
lockCarDoors(Vehicle car, int status) |
bool result = explodeCar(Vehicle car) |
bool result = addExplosion(float atX, float atY, float atZ, int radius) |
bool result = isCarUpright(Vehicle car) |
bool result, Pickup pickup = createPickup(Model modelId, int type, float atX, float atY, float atZ) |
bool result = hasPickupBeenCollected(Pickup pickup) |
bool result = removePickup(Pickup pickup) |
bool result = setTaxiLights(Vehicle taxi, bool light) |
bool result = printBigQ(GxtString gxtString, int time, int style) |
bool result = setTargetCarForMissionGarage(GxtString garage, Vehicle car) |
bool result = applyBrakesToPlayersCar(Player player, bool apply) |
setCharHealth(Ped ped, int health) |
setCarHealth(Vehicle car, int health) |
int health = getCharHealth(Ped ped) |
int health = getCarHealth(Vehicle car) |
bool result = changeCarColour(Vehicle car, int primaryColor, int secondaryColor) |
switchPedRoadsOn(float cornerAX, float cornerAY, float cornerAZ, float cornerBX, float cornerBY, float cornerBZ) |
switchPedRoadsOff(float cornerAX, float cornerAY, float cornerAZ, float cornerBX, float cornerBY, float cornerBZ) |
setGangWeapons(int gang, int weapons1, int weapons2, int weapons3) |
bool result = isCharTouchingObjectOnFoot(Ped ped, Object object) |
loadSpecialCharacter(GxtString gxtString, int id) |
bool result = hasSpecialCharacterLoaded(int id) |
bool result = isPlayerInRemoteMode(Player player) |
setCutsceneOffset(float posX, float posY, float posZ) |
setAnimGroupForChar(Ped ped, string style) |
requestModel(Model modelId) |
bool result = hasModelLoaded(Model modelId) |
markModelAsNoLongerNeeded(Model modelId) |
drawCorona(float atX, float atY, float atZ, float radius, int type, bool lensflares, int r, int g, int b) |
storeClock() |
restoreClock() |
bool result = isPlayerPlaying(Player player) |
int mode = getControllerMode() |
setCanResprayCar(Vehicle car, bool sprayable) |
unloadSpecialCharacter(int id) |
resetNumOfModelsKilledByPlayer(Player player) |
int quantity = getNumOfModelsKilledByPlayer(Player player, Model modelId) |
activateGarage(GxtString garage) |
Object object = createObjectNoOffset(Model modelId, float atX, float atY, float atZ) |
bool result = isCharStopped(Ped ped) |
switchWidescreen(bool enable) |
Marker marker = addSpriteBlipForContactPoint(float atX, float atY, float atZ, int icon) |
Marker marker = addSpriteBlipForCoord(float atX, float atY, float atZ, int type) |
setCharOnlyDamagedByPlayer(Ped ped, bool enabled) |
setCarOnlyDamagedByPlayer(Vehicle car, bool enabled) |
setCharProofs(Ped ped, bool BP, bool FP, bool EP, bool CP, bool MP) |
setCarProofs(Vehicle car, bool BP, bool FP, bool EP, bool CP, bool MP) |
deactivateGarage(GxtString garage) |
bool result = isCarInWater(Vehicle car) |
float nodeX, float nodeY, float nodeZ = getClosestCharNode(float closestToX, float closestToY, float closestToZ) |
float nodeX, float nodeY, float nodeZ = getClosestCarNode(float closestToX, float closestToY, float closestToZ) |
carGotoCoordinatesAccurate(Vehicle car, float toX, float toY, float toZ) |
bool result = isCarOnScreen(Vehicle car) |
bool result = isCharOnScreen(Ped ped) |
bool result = isObjectOnScreen(Object object) |
float z = getGroundZFor3dCoord(float atX, float atY, float atZ) |
int fire = startScriptFire(float atX, float atY, float atZ, int propagation, int size) |
bool result = isScriptFireExtinguished(int fire) |
removeScriptFire(int fire) |
boatGotoCoords(Vehicle boat, float toX, float toY, float toZ) |
boatStop(Vehicle car) |
bool result = isCharShootingInArea(Ped ped, float cornerAX, float cornerAY, float cornerBX, float cornerBY, int weapon) |
bool result = isCurrentCharWeapon(Ped ped, int weapon) |
setBoatCruiseSpeed(Vehicle boat, float speed) |
Ped ped = getRandomCharInZone(GxtString zone, bool pedtype, bool gang, bool criminal_prostitute) |
bool result = isCharShooting(Ped ped) |
Pickup pickup = createMoneyPickup(float atX, float atY, float atZ, int cash, bool permanenceFlag) |
setCharAccuracy(Ped ped, int accuracy) |
float speed = getCarSpeed(Vehicle car) |
loadCutscene(GxtString cutscene) |
Object object = createCutsceneObject(Model modelId) |
setCutsceneAnim(int cutscene, GxtString anim) |
startCutscene() |
int time = getCutsceneTime() |
bool result = hasCutsceneFinished() |
clearCutscene() |
restoreCameraJumpcut() |
setCollectable1Total(int total) |
bool result = isProjectileInArea(float cornerAX, float cornerAY, float cornerAZ, float cornerBX, float cornerBY, float cornerBZ) |
bool result = isCharModel(Ped ped, Model modelId) |
loadSpecialModel(Model modelId, GxtString gxtString) |
float forwardX = getCarForwardX(Vehicle car) |
float forwardY = getCarForwardY(Vehicle car) |
changeGarageType(GxtString garage, int type) |
printWith2NumbersNow(GxtString gxtString, int numbers1, int numbers2, int time, int flag) |
printWith3Numbers(GxtString gxtString, int numbers1, int numbers2, int numbers3, int time, int flag) |
printWith4Numbers(GxtString gxtString, int numbers1, int numbers2, int numbers3, int numbers4, int time, int flag) |
printWith4NumbersNow(GxtString gxtString, int numbers1, int numbers2, int numbers3, int numbers4, int time, int flag) |
printWith6Numbers(GxtString gxtString, int numbers1, int numbers2, int numbers3, int numbers4, int numbers5, int numbers6, int time, int flag) |
playerMadeProgress(int progress) |
setProgressTotal(int maxProgress) |
registerMissionGiven() |
registerMissionPassed(GxtString mission) |
removeAllScriptFires() |
bool result = hasCharBeenDamagedByWeapon(Ped ped, int weapon) |
bool result = hasCarBeenDamagedByWeapon(Vehicle car, int weapon) |
explodeCharHead(Ped ped) |
anchorBoat(Vehicle boat, bool anchor) |
int fire = startCarFire(Vehicle car) |
int fire = startCharFire(Ped ped) |
Vehicle car = getRandomCarOfTypeInArea(float cornerAX, float cornerAY, float cornerBX, float cornerBY, Model modelId) |
bool result = hasResprayHappened(Vehicle car) |
setCameraZoom(int mode) |
Pickup pickup = createPickupWithAmmo(Model modelId, int type, int ammo, float atX, float atY, float atZ) |
setCarRamCar(Vehicle car, Vehicle car) |
setPlayerNeverGetsTired(Player player, bool infiniteRun) |
setPlayerFastReload(Player player, bool fastReload) |
setCharBleeding(Ped ped, bool bleeding) |
setFreeResprays(bool enable) |
setCharVisible(Ped ped, bool visible) |
setCarVisible(Vehicle car, bool visible) |
bool result = isAreaOccupied(float cornerAX, float cornerAY, float cornerAZ, float cornerBX, float cornerBY, float cornerBZ, bool solid, bool car, bool actor, bool object, bool particle) |
displayText(float posX, float posY, GxtString gxtString) |
setTextScale(float sizeX, float sizeY) |
setTextColour(int r, int g, int b, int a) |
setTextJustify(bool alignJustify) |
setTextCentre(bool centered) |
setTextWrapx(float linewidth) |
setTextCentreSize(float linewidth) |
setTextBackground(bool background) |
setTextProportional(bool proportional) |
setTextFont(int font) |
bool result = rotateObject(Object object, float fromAngle, float toAngle, bool flag) |
bool result = slideObject(Object object, float toX, float toY, float toZ, float speedX, float speedY, float speedZ, bool collisionCheck) |
removeCharElegantly(Ped ped) |
setCharStayInSamePlace(Ped ped, bool enabled) |
bool result = isExplosionInArea(int explosionType, float cornerAX, float cornerAY, float cornerAZ, float cornerBX, float cornerBY, float cornerBZ) |
placeObjectRelativeToCar(Object object, Vehicle car, float offsetX, float offsetY, float offsetZ) |
makeObjectTargettable(Object object, bool targetable) |
addArmourToChar(Ped ped, int points) |
openGarage(GxtString garage) |
closeGarage(GxtString garage) |
warpCharFromCarToCoord(Ped ped, float placeAtX, float placeAtY, float placeAtZ) |
setVisibilityOfClosestObjectOfType(float atX, float atY, float atZ, float radius, Model modelId, bool visibility) |
bool result = hasCharSpottedChar(Ped ped, Ped ped) |
bool result = hasObjectBeenDamaged(Object object) |
warpCharIntoCar(Ped ped, Vehicle car) |
printWith2NumbersBig(GxtString gxtString, int numbers1, int numbers2, int time, int style) |
setCameraBehindPlayer() |
Ped ped = createRandomChar(float atX, float atY, float atZ) |
bool result = isSniperBulletInArea(float float1, float float2, float float3, float float4, float float5, float float6) |
setObjectVelocity(Object object, float velocityInDirectionX, float velocityInDirectionY, float velocityInDirectionZ) |
setObjectCollision(Object object, bool collision) |
printStringInStringNow(GxtString gxtString, GxtString string, int time1, int time2) |
bool result = isPointObscuredByAMissionEntity(float cornerAX, float cornerAY, float cornerAZ, float cornerBX, float cornerBY, float cornerBZ) |
loadAllModelsNow() |
addToObjectVelocity(Object object, float velocityX, float velocityY, float velocityZ) |
drawSprite(int texture, float positionX, float positionY, float width, float height, int r, int g, int b, int a) |
drawRect(float positionX, float positionY, float width, float height, int r, int g, int b, int a) |
int id = loadSprite(string name) |
bool result = loadTextureDictionary(zstring txd) |
removeTextureDictionary() |
setObjectDynamic(Object object, bool moveable) |
setCharAnimSpeed(Ped ped, string animation, float speed) |
playMissionPassedTune(int music) |
clearArea(float atX, float atY, float atZ, float radius, bool area) |
freezeOnscreenTimer(bool timer) |
switchCarSiren(Vehicle car, bool siren) |
setCarWatertight(Vehicle car, bool watertight) |
setCharCantBeDraggedOut(Ped ped, bool locked) |
turnCarToFaceCoord(Vehicle car, float coordX, float coordY) |
drawSphere(float atX, float atY, float atZ, float radius) |
setCarStatus(Vehicle car, int action) |
bool result = isCharMale(Ped ped) |
policeRadioMessage(float float1, float float2, float float3) |
setCarStrong(Vehicle car, bool strong) |
switchRubbish(bool int1) |
switchStreaming(bool streaming) |
bool result = isGarageOpen(GxtString garage) |
bool result = isGarageClosed(GxtString garage) |
swapNearestBuildingModel(float atX, float atY, float atZ, float radius, Model from, Model to) |
switchWorldProcessing(bool cutsceneOnly) |
clearAreaOfCars(float cornerAX, float cornerAY, float cornerAZ, float cornerBX, float cornerBY, float cornerBZ) |
int sphere = addSphere(float atX, float atY, float atZ, float radius) |
removeSphere(int sphere) |
setEveryoneIgnorePlayer(Player player, bool ignored) |
Vehicle car = storeCarCharIsInNoSave(Ped ped) |
displayOnscreenTimerWithString(VarId timer, int type, GxtString gxtString) |
displayOnscreenCounterWithString(VarId var, bool type, GxtString gxtString) |
createRandomCarForCarPark(float coordsX, float coordsY, float coordsZ, float zAngle) |
setWantedMultiplier(float sensitivity) |
setCameraInFrontOfPlayer() |
bool result = isCarVisiblyDamaged(Vehicle car) |
bool result = doesObjectExist(Object object) |
loadScene(float atX, float atY, float atZ) |
addStuckCarCheck(Vehicle car, float stuckCheckDistance, int time) |
removeStuckCarCheck(Vehicle car) |
bool result = isCarStuck(Vehicle car) |
loadMissionAudio(int asId, int name) |
bool result = hasMissionAudioLoaded(int id) |
playMissionAudio(int id) |
bool result = hasMissionAudioFinished(int id) |
float nodeX, float nodeY, float nodeZ, float angle = getClosestCarNodeWithHeading(float X, float Y, float Z) |
bool result = hasImportGarageSlotBeenFilled(int int1, int int2) |
clearThisPrint(GxtString text) |
clearThisBigPrint(GxtString text) |
setMissionAudioPosition(int id, float locationX, float locationY, float locationZ) |
activateSaveMenu() |
bool result = hasSaveGameFinished() |
noSpecialCameraForThisGarage(int int1) |
Marker marker = addBlipForPickup(Pickup pickup) |
setPedDensityMultiplier(float multiplier) |
setTextDrawBeforeFade(bool int1) |
int collected = getCollectable1sCollected() |
setSpritesDrawBeforeFade(bool antialiased) |
setTextRightJustify(bool alignRight) |
printHelp(GxtString gxtString) |
clearHelp() |
flashHudObject(int hudComponent) |
setGenerateCarsAroundCamera(bool int1) |
clearSmallPrints() |
setUpsidedownCarNotDamaged(Vehicle car, bool disableFlippedExplosion) |
bool result = isPlayerControllable(Player player) |
makePlayerSafe(Player player) |
int primaryColor, int secondaryColor = getCarColours(Vehicle car) |
setAllCarsCanBeDamaged(bool enable) |
setCarCanBeDamaged(Vehicle car, bool enable) |
setDrunkInputDelay(Player player, int handlingResponsiveness) |
setCharMoney(Ped ped, int money) |
float X, float Y, float Z = getOffsetFromObjectInWorldCoords(Object object, float offsetX, float offsetY, float offsetZ) |
float X, float Y, float Z = getOffsetFromCarInWorldCoords(Vehicle car, float offsetX, float offsetY, float offsetZ) |
clearMissionAudio(int id) |
setFreeHealthCare(Player player, bool free) |
loadAndLaunchMissionInternal(int mission) |
setObjectDrawLast(Object object, bool drawLast) |
int ammo = getAmmoInCharWeapon(Ped ped, int int) |
setNearClip(float clip) |
setRadioChannel(int radioStation) |
setCarTraction(Vehicle car, float traction) |
bool result = areMeasurementsInMetres() |
float feet = convertMetresToFeet(float meters) |
setCarAvoidLevelTransitions(Vehicle car, bool avoidLevelTransitions) |
clearAreaOfChars(float cornerAX, float cornerAY, float cornerAZ, float cornerBX, float cornerBY, float cornerBZ) |
setTotalNumberOfMissions(int totalMissions) |
int imperial = convertMetresToFeetInt(int metric) |
registerFastestTime(int stat, int to) |
registerHighestScore(int int1, int int2) |
warpCharIntoCarAsPassenger(Ped ped, Vehicle car, int passengerSeat) |
bool result = isCarPassengerSeatFree(Vehicle car, int seat) |
Ped ped = getCharInCarPassengerSeat(Vehicle car, int seat) |
setCharIsChrisCriminal(Ped ped, bool flag) |
startCredits() |
stopCredits() |
bool result = areCreditsFinished() |
setMusicDoesFade(bool enable) |
Model modelId = getCarModel(Vehicle veh) |
bool result = areAnyCarCheatsActivated() |
setCharSuffersCriticalHits(Ped ped, bool enable) |
bool result = isCharSittingInCar(Ped ped, Vehicle car) |
bool result = isCharSittingInAnyCar(Ped ped) |
bool result = isCharOnFoot(Ped ped) |
loadSplashScreen(GxtString gxtString) |
setJamesCarOnPathToPlayer(int int1) |
setObjectRotation(Object object, float rotationX, float rotationY, float rotationZ) |
float X, float Y, float Z = getDebugCameraCoordinates() |
bool result = isPlayerTargettingChar(Player player, Ped ped) |
bool result = isPlayerTargettingObject(Player player, Object object) |
displayTextWithNumber(float x, float y, GxtString gxtString, int number) |
displayTextWith2Numbers(float x, float y, GxtString gxtString, int numbersX, int numbersY) |
failCurrentMission() |
setInterpolationParameters(float delay, int time) |
float X, float Y, float Z = getDebugCameraPointAt() |
attachCharToCar(Ped ped, Vehicle car, float offsetX, float offsetY, float offsetZ, int position, float shootingAngleLimit, int weapon) |
detachCharFromCar(Ped ped) |
setCarStayInFastLane(Vehicle car, bool flag) |
clearCharLastWeaponDamage(Ped ped) |
clearCarLastWeaponDamage(Vehicle car) |
int int10 = getRandomCopInArea(float float1, float float2, float float3, float float4, bool int5, bool int6, bool int7, bool int8, bool int9) |
Ped ped = getDriverOfCar(Vehicle car) |
int followers = getNumberOfFollowers(Ped ped) |
giveRemoteControlledModelToPlayer(Player player, float atX, float atY, float atZ, float angle, Model RCModel) |
int weapon = getCurrentCharWeapon(Ped ped) |
bool result = locateCharAnyMeansObject2d(Ped ped, Object object, float radiusX, float radiusY, bool sphere) |
bool result = locateCharOnFootObject2d(Ped ped, Object object, float radiusX, float radiusY, bool sphere) |
bool result = locateCharInCarObject2d(Ped ped, Object object, float radiusX, float radiusY, bool sphere) |
bool result = locateCharAnyMeansObject3d(Ped ped, Object object, float radiusX, float radiusY, float radiusZ, bool sphere) |
bool result = locateCharOnFootObject3d(Ped ped, Object object, float radiusX, float radiusY, float radiusZ, bool sphere) |
bool result = locateCharInCarObject3d(Ped ped, Object object, float radiusX, float radiusY, float radiusZ, bool sphere) |
setCarTempAction(Vehicle car, int action, int time) |
bool result = isCharOnAnyBike(Ped ped) |
bool result = canCharSeeDeadChar(Ped ped, int pedtype) |
setEnterCarRangeMultiplier(float float1) |
Vehicle car = getRemoteControlledCar(Player player) |
bool result = isPcVersion() |
bool result = isModelAvailable(Model modelId) |
shutCharUp(Ped ped, bool muted) |
setEnableRcDetonate(bool detonation) |
setCarRandomRouteSeed(Vehicle car, int routeSeed) |
bool result = isAnyPickupAtCoords(float pickupX, float pickupY, float pickupZ) |
removeAllCharWeapons(Ped ped) |
bool result = hasCharGotWeapon(Ped ped, int weapon) |
setTankDetonateCars(int tank, bool detonate) |
int offset1, int offset2, int offset3, int offset4 = getPositionOfAnalogueSticks(int joystick) |
bool result = isCarOnFire(Vehicle car) |
bool result = isCarTireBurst(Vehicle car, int tire) |
initialiseObjectPath(int int1, float float2) |
setObjectPathSpeed(int int1, int int2) |
setObjectPathPosition(int int1, float float2) |
clearObjectPath(int int1) |
heliGotoCoords(Vehicle heli, float toX, float toY, float toZ, float altitudeMin, float altitudeMax) |
float coordsX, float coordsY, float coordsZ = getDeadCharPickupCoords(Ped ped) |
Pickup pickup = createProtectionPickup(float atX, float atY, float atZ, int int4, int int5) |
bool result = isCharInAnyBoat(Ped ped) |
bool result = isCharInAnyHeli(Ped ped) |
bool result = isCharInAnyPlane(Ped ped) |
bool result = isCharInWater(Ped ped) |
int weapon, int ammo, Model modelId = getCharWeaponInSlot(Ped ped, int slot) |
float float6, float float7, float float8, float float9, float float10, float float11, float float12 = getClosestStraightRoad(float atX, float atY, float atZ, float height, float radius) |
setCarForwardSpeed(Vehicle car, float speed) |
setInteriorVisible(int interior) |
markCarAsConvoyCar(Vehicle car, bool convoy) |
resetHavocCausedByPlayer(int int1) |
int int2 = getHavocCausedByPlayer(int int1) |
createScriptRoadblock(float cornerAX, float cornerAY, float cornerAZ, float cornerBX, float cornerBY, float cornerBZ, int type) |
clearAllScriptRoadblocks() |
float X, float Y, float Z = getOffsetFromCharInWorldCoords(Ped ped, float offsetX, float offsetY, float offsetZ) |
bool result = hasCharBeenPhotographed(Ped ped) |
switchSecurityCamera(bool int1) |
bool result = isCharInFlyingVehicle(Ped ped) |
Marker marker = addShortRangeSpriteBlipForCoord(float atX, float atY, float atZ, int icon) |
setHeliOrientation(Vehicle heli, float angle) |
clearHeliOrientation(Vehicle heli) |
planeGotoCoords(int plane, float X, float Y, float Z, float z1, float z2) |
float X, float Y, float Z = getNthClosestCarNode(float X, float Y, float Z, int type) |
drawWeaponshopCorona(float X, float Y, float Z, float radius, int type, int flare, int r, int g, int b) |
setEnableRcDetonateOnContact(bool enable) |
freezeCharPosition(Ped ped, bool locked) |
setCharDrownsInWater(Ped ped, bool drowns) |
setObjectRecordsCollisions(Object object, bool set) |
bool result = hasObjectCollidedWithAnything(Object object) |
removeRcBuggy() |
int armour = getCharArmour(Ped ped) |
setHeliStabiliser(Vehicle heli, bool limiter) |
setCarStraightLineDistance(Vehicle car, int radius) |
popCarBoot(Vehicle car) |
shutPlayerUp(Player player, bool shut) |
setPlayerMood(Player player, int flag, int time) |
requestCollision(float X, float Y) |
bool result = locateObject2d(Object object, float X, float Y, float radiusX, float radiusY, bool sphere) |
bool result = locateObject3d(Object object, float X, float Y, float Z, float radiusX, float radiusY, float radiusZ, bool flag) |
bool result = isObjectInWater(Object object) |
bool result = isObjectInArea2d(Object object, float cornerAX, float cornerAY, float cornerBX, float cornerBY, bool sphere) |
bool result = isObjectInArea3d(Object object, float cornerAX, float cornerAY, float cornerAZ, float cornerBX, float cornerBY, float cornerBZ, bool flag) |
taskToggleDuck(Ped ped, bool crouch) |
requestAnimation(string animation) |
bool result = hasAnimationLoaded(string animation) |
removeAnimation(string animation) |
bool result = isCharWaitingForWorldCollision(Ped ped) |
bool result = isCarWaitingForWorldCollision(Vehicle car) |
attachCharToObject(Ped ped, Object object, float offsetX, float offsetY, float offsetZ, int orientation, float angle, int lockWeapon) |
displayNthOnscreenCounterWithString(VarId text, int type, int line, GxtString gxtString) |
addSetPiece(int type, float rectX1, float rectY1, float rectX2, float rectY2, float spawnAX, float spawnAY, float headedTowards1X, float headedTowards1Y, float spawnBX, float spawnBY, float headedTowards2X, float headedTowards2Y) |
setExtraColours(int color, bool fade) |
clearExtraColours(bool fade) |
int twowheelstime, float twowheelsdistance, int wheelietime, float wheelieDistance, int stoppieTime, float stoppieDistance = getWheelieStats(Player player) |
burstCarTire(Vehicle car, int tire) |
bool result = isPlayerWearing(Player player, string bodypart, int skin) |
setPlayerCanDoDriveBy(Player player, bool mode) |
int handleAs = createSwatRope(int pedtype, Model modelId, float X, float Y, float Z) |
setCarModelComponents(Model car, int variation1, int variation2) |
closeAllCarDoors(Vehicle car) |
float distance = getDistanceBetweenCoords2d(float x1, float y1, float x2, float y2) |
float distance = getDistanceBetweenCoords3d(float x1, float y1, float z1, float x2, float y2, float z2) |
sortOutObjectCollisionWithCar(Object object, Vehicle car) |
int level = getMaxWantedLevel() |
printHelpForever(GxtString text) |
printHelpForeverWithNumber(GxtString text, int number) |
Pickup pickup = createLockedPropertyPickup(float pX, float pY, float pZ, GxtString gxtString) |
Pickup pickup = createForsalePropertyPickup(float pX, float pY, float pZ, int price, GxtString gxtString) |
freezeCarPosition(Vehicle car, bool locked) |
bool result = hasCharBeenDamagedByChar(Ped ped, Ped byActor) |
bool result = hasCharBeenDamagedByCar(Ped ped, Vehicle byCar) |
bool result = hasCarBeenDamagedByChar(Vehicle car, Ped byActor) |
bool result = hasCarBeenDamagedByCar(Vehicle car, Vehicle byCar) |
int radio = getRadioChannel() |
setCharStayInCarWhenJacked(Ped ped, bool stay) |
setPlayerDrunkenness(Player player, int drunk) |
Vehicle car = getRandomCarOfTypeInAreaNoSave(float x1, float y1, float x2, float y2, Model modelId) |
setCanBurstCarTires(Vehicle car, bool vulnerability) |
fireHunterGun(Vehicle car) |
bool result = isCharTouchingVehicle(Ped ped, Vehicle car) |
setCharCanBeShotInVehicle(Ped ped, bool can) |
loadMissionText(GxtString table) |
clearCharLastDamageEntity(Ped ped) |
clearCarLastDamageEntity(Vehicle car) |
freezeObjectPosition(Object object, bool freeze) |
removeWeaponFromChar(Ped ped, int weapon) |
makePlayerFireProof(Player player, bool fireproof) |
increasePlayerMaxHealth(Player player, int increase) |
increasePlayerMaxArmour(Player player, int increase) |
Ped ped = createRandomCharAsDriver(Vehicle car) |
Ped ped = createRandomCharAsPassenger(Vehicle car, int seat) |
ensurePlayerHasDriveByWeapon(Player player, int ammo) |
makeHeliComeCrashingDown(Vehicle heli) |
addExplosionNoSound(float pX, float pY, float pZ, int type) |
linkObjectToInterior(Object object, int interior) |
setCharNeverTargetted(Ped ped, bool untargetable) |
bool result = wasCutsceneSkipped() |
bool result = isCharInAnyPoliceVehicle(Ped ped) |
bool result = doesCharExist(Ped ped) |
bool result = doesVehicleExist(Vehicle car) |
Marker blip = addShortRangeSpriteBlipForContactPoint(float pX, float pY, float pZ, int icon) |
setAllTaxisHaveNitro(bool toggle) |
freezeCarPositionAndDontLoadCollision(Vehicle car, bool keep) |
freezeCharPositionAndDontLoadCollision(Ped ped, bool keep) |
setPlayerIsInStadium(bool set) |
displayRadar(bool enable) |
registerBestPosition(int stat, float float) |
bool result = isPlayerInInfoZone(Player player, GxtString zone) |
setLoadCollisionForCarFlag(Vehicle car, bool enable) |
setLoadCollisionForCharFlag(Ped ped, bool enable) |
addBigGunFlash(float fromX, float fromY, float fromZ, float toX, float toY, float toZ) |
float progress = getProgressPercentage() |
setVehicleToFadeIn(Vehicle car, int flag) |
registerOddjobMissionPassed() |
bool result = isPlayerInShortcutTaxi(Player player) |
bool result = isCharDucking(Ped ped) |
setOnscreenCounterFlashWhenFirstDisplayed(VarId text, bool flashing) |
shuffleCardDecks(bool shuffle) |
int card = fetchNextCard() |
float vecX, float vecY, float vecZ = getObjectVelocity(Object object) |
bool result = isDebugCameraOn() |
addToObjectRotationVelocity(Object object, float vecX, float vecY, float vecZ) |
setObjectRotationVelocity(Object object, float vecX, float vecY, float vecZ) |
bool result = isObjectStatic(Object object) |
float angle = getAngleBetween2dVectors(float vecX, float vecY, float vecX, float vecY) |
bool result = do2dRectanglesCollide(float areaX, float areaY, float scaleX, float scaleY, float overlapareaX, float overlapareaY, float overlapscaleX, float overlapscaleY) |
float axisX, float axisY, float axisZ = getObjectRotationVelocity(Object object) |
addVelocityRelativeToObjectVelocity(Object object, float vecX, float vecY, float vecZ) |
float speed = getObjectSpeed(Object object) |
bool result, float X, float Y = get2dLinesIntersectPoint(float l1x1, float l1y1, float l1x2, float l1y2, float l2x1, float l2y1, float l2x2, float l2y2) |
taskPause(Ped ped, int timeMS) |
taskStandStill(Ped ped, int timeMS) |
taskFallAndGetUp(Ped ped, bool int2, int time) |
taskJump(Ped ped, bool jump) |
taskTired(Ped ped, int timeMS) |
taskDie(Ped ped) |
taskLookAtChar(Ped ped, int lookAt, int timeMS) |
taskLookAtVehicle(Ped ped, int lookAt, int timeMS) |
taskSay(Ped ped, int audio) |
taskShakeFist(Ped ped) |
taskCower(Ped ped) |
taskHandsUp(Ped ped, int timeMS) |
taskDuck(Ped ped, int timeMS) |
taskUseAtm(Ped ped) |
taskScratchHead(Ped ped) |
taskLookAbout(Ped ped, int timeMS) |
taskEnterCarAsPassenger(Ped ped, Vehicle car, int time, int passengerSeat) |
taskEnterCarAsDriver(Ped ped, Vehicle car, int timeMS) |
taskLeaveCar(Ped ped, Vehicle car) |
taskLeaveCarAndFlee(Ped ped, Vehicle car, float X, float Y, float Z) |
taskCarDriveToCoord(Ped ped, Vehicle car, float toX, float toY, float toZ, float speed, int int7, int model, int int9) |
taskCarDriveWander(Ped ped, Vehicle hijackCar, float searchRadius, int trafficBehavior) |
taskGoStraightToCoord(Ped ped, float toX, float toY, float toZ, int mode, int time) |
taskAchieveHeading(Ped ped, float angle) |
flushRoute() |
extendRoute(float pointX, float pointY, float pointZ) |
taskFollowPointRoute(Ped ped, int flags1, int flags2) |
taskGotoChar(Ped ped, Ped toActor, int timelimit, float stopWithinRadius) |
taskFleePoint(Ped ped, float fromX, float fromY, float fromZ, float awayRadius, int timelimit) |
taskFleeChar(Ped ped, Ped fromActor, float radius, int timelimit) |
taskSmartFleePoint(Ped ped, float fromX, float fromY, float fromZ, float stopAtRadius, int timelimit) |
taskSmartFleeChar(Ped ped, Ped fromActor, float originRadius, int timelimit) |
taskWanderStandard(Ped ped) |
taskKillCharOnFoot(Ped ped, Ped killActor) |
startPlaybackRecordedCar(Vehicle car, int path) |
stopPlaybackRecordedCar(Vehicle car) |
pausePlaybackRecordedCar(Vehicle car) |
unpausePlaybackRecordedCar(Vehicle car) |
setCarEscortCarLeft(Vehicle car, Vehicle followCar) |
setCarEscortCarRight(Vehicle car, Vehicle followCar) |
setCarEscortCarRear(Vehicle car, Vehicle followCar) |
setCarEscortCarFront(Vehicle car, Vehicle followCar) |
taskFollowPathNodesToCoord(Ped ped, float pathX, float pathY, float pathZ, int mode, int time) |
bool result = isCharInAngledArea2d(Ped ped, float x1, float y1, float x2, float y2, float angle, bool sphere) |
bool result = isCharInAngledAreaOnFoot2d(Ped ped, float x1, float y1, float x2, float y2, float angle, bool sphere) |
bool result = isCharInAngledAreaInCar2d(Ped ped, float x1, float y1, float x2, float y2, float angle, bool sphere) |
bool result = isCharStoppedInAngledArea2d(Ped ped, float x1, float y1, float x2, float y2, float height, bool flag) |
bool result = isCharStoppedInAngledAreaOnFoot2d(Ped ped, float x1, float y1, float x2, float y2, float angle, bool sphere) |
bool result = isCharStoppedInAngledAreaInCar2d(Ped ped, float x1, float y1, float x2, float y2, float height, bool flag) |
bool result = isCharInAngledArea3d(Ped ped, float x1, float y1, float z1, float x2, float y2, float z2, float angle, bool sphere) |
bool result = isCharInAngledAreaOnFoot3d(Ped ped, float x1, float y1, float z1, float x2, float y2, float z2, float angle, bool sphere) |
bool result = isCharInAngledAreaInCar3d(Ped ped, float x1, float y1, float z1, float x2, float y2, float z2, float depth, bool flag) |
bool result = isCharStoppedInAngledArea3d(Ped ped, float x1, float y1, float z1, float x2, float y2, float z2, float depth, bool flag) |
bool result = isCharStoppedInAngledAreaOnFoot3d(Ped ped, float x1, float y1, float z1, float x2, float y2, float z2, float depth, bool flag) |
bool result = isCharStoppedInAngledAreaInCar3d(Ped ped, float x1, float y1, float z1, float x2, float y2, float z2, float depth, bool flag) |
bool result = isCharInTaxi(Ped ped) |
taskGoToCoordAnyMeans(Ped ped, float toX, float toY, float toZ, int mode, Vehicle useCar) |
float zAngle = getHeadingFromVector2d(float pX, float pY) |
taskPlayAnim(Ped ped, string animation, string IFP, float framedelta, bool loop, bool lockX, bool lockY, bool lockF, int time) |
loadPathNodesInArea(float x1, float y1, float x2, float y2) |
releasePathNodes() |
int maker = loadCharDecisionMaker(int type) |
setCharDecisionMaker(Ped ped, int maker) |
setTextDropshadow(int shadow, int r, int g, int b, int a) |
bool result = isPlaybackGoingOnForCar(Vehicle car) |
setSenseRange(Ped ped, float accuracy) |
bool result = isCharPlayingAnim(Ped ped, string animation) |
setCharAnimPlayingFlag(Ped ped, string animation, bool flag) |
float time = getCharAnimCurrentTime(Ped ped, string animation) |
setCharAnimCurrentTime(Ped ped, string animation, float time) |
int task = openSequenceTask() |
closeSequenceTask(int task) |
performSequenceTask(Ped ped, int task) |
setCharCollision(Ped ped, bool enable) |
float totalTime = getCharAnimTotalTime(Ped ped, string animation) |
clearSequenceTask(int task) |
int handle = addAttractor(float originX, float originY, float originZ, float zAngle, float unknownAngle, int taskSequence) |
clearAttractor(int handle) |
Ped ped = createCharAtAttractor(int pedtype, Model modelId, int ASOrigin, int task) |
taskLeaveCarImmediately(Ped ped, Vehicle car) |
incrementIntStat(int stat, int add) |
incrementFloatStat(int stat, float add) |
decrementIntStat(int stat, int int) |
decrementFloatStat(int stat, float float) |
registerIntStat(int stat, int int) |
registerFloatStat(int stat, float value) |
setIntStat(int stat, int int) |
setFloatStat(int stat, float float) |
int status = getScriptTaskStatus(Ped ped, int task) |
int group = createGroup(int type) |
setGroupLeader(int group, Ped ped) |
setGroupMember(int group, Ped ped) |
removeGroup(int group) |
taskLeaveAnyCar(Ped ped) |
taskKillCharOnFootWhileDucking(Ped ped, int weapon, int flags, int time, int chance) |
taskAimGunAtChar(Ped ped, int aimAt, int timeMS) |
taskGoToCoordWhileShooting(Ped ped, float toX, float toY, float toZ, int mode, float turnRadius, float stopRadius, int lookAtActor) |
taskStayInSamePlace(Ped ped, bool stay) |
taskTurnCharToFaceChar(Ped ped, int rotateTo) |
bool result = isCharAtScriptedAttractor(Ped ped, int origin) |
setSequenceToRepeat(int pack, bool loop) |
int progess = getSequenceProgress(Ped ped) |
clearLookAt(Ped ped) |
setFollowNodeThresholdDistance(Ped ped, float dist) |
Particle particle = createFxSystem(string particle, float pX, float pY, float pZ, int type) |
playFxSystem(Particle particle) |
stopFxSystem(Particle particle) |
playAndKillFxSystem(Particle particle) |
killFxSystem(Particle particle) |
int stat = getIntStat(int stat) |
float stat = getFloatStat(int stat) |
setObjectRenderScorched(Object object, bool fireproof) |
taskLookAtObject(Ped ped, int lookAt, int timeMS) |
float float = limitAngle(float angle) |
openCarDoor(Vehicle car, int door) |
float X, float Y, float Z = getPickupCoordinates(Pickup pickup) |
removeDecisionMaker(int maker) |
Model modelId = getCharModel(Ped ped) |
taskAimGunAtCoord(Ped ped, float atX, float atY, float atZ, int timeMS) |
taskShootAtCoord(Ped ped, float atX, float atY, float atZ, int timeMS) |
Particle particle = createFxSystemOnChar(string particle, Ped ped, float offsetX, float offsetY, float offsetZ, int type) |
Particle particle = createFxSystemOnCharWithDirection(string particle, Ped ped, float offsetX, float offsetY, float offsetZ, float rotationX, float rotationY, float rotationZ, int type) |
Particle particle = createFxSystemOnCar(string particle, Vehicle car, float offsetX, float offsetY, float offsetZ, int type) |
Particle particle = createFxSystemOnCarWithDirection(string particle, Vehicle car, float offsetX, float offsetY, float offsetZ, float rotationX, float rotationY, float rotationZ, int type) |
Particle particle = createFxSystemOnObject(string particle, Object object, float offsetX, float offsetY, float offsetZ, int type) |
Particle particle = createFxSystemOnObjectWithDirection(string particle, Object object, float offsetX, float offsetY, float offsetZ, float rotationX, float rotationY, float rotationZ, int flag) |
taskDestroyCar(Ped ped, Vehicle car) |
taskDiveAndGetUp(Ped ped, float toOffsetX, float toOffsetY, int time) |
customPlateForNextCar(Model modelId, string numberplate) |
taskShuffleToNextCarSeat(Ped ped, Vehicle car) |
taskChatWithChar(Ped ped, int withActor, bool flag, int unknownFlag) |
attachCameraToVehicle(Vehicle car, float offsetX, float offsetY, float offsetZ, float rotationX, float rotationY, float rotationZ, float tilt, int switchstyle) |
attachCameraToVehicleLookAtVehicle(Vehicle car, float offsetX, float offsetY, float offsetZ, int toCar, float tilt, int switchstyle) |
attachCameraToVehicleLookAtChar(Vehicle car, float offsetX, float offsetY, float offsetZ, Ped ped, float tilt, int switchstyle) |
attachCameraToChar(Ped ped, float offsetX, float offsetY, float offsetZ, float rotationX, float rotationY, float rotationZ, float tilt, int switchstyle) |
attachCameraToCharLookAtChar(Ped ped, float offsetX, float offsetY, float offsetZ, int targetActor, float tilt, int switchstyle) |
forceCarLights(Vehicle car, int lights) |
addPedtypeAsAttractorUser(int ASOrigin, int pedtype) |
attachObjectToCar(Object object, Vehicle car, float offsetX, float offsetY, float offsetZ, float rotationX, float rotationY, float rotationZ) |
detachObject(Object object, float X, float Y, float Z, bool collisionDetection) |
attachCarToCar(Vehicle car, int toCar, float offsetX, float offsetY, float offsetZ, float rotationX, float rotationY, float rotationZ) |
detachCar(Vehicle car, float X, float Y, float Z, bool collisionDetection) |
bool result = isObjectAttached(Object object) |
bool result = isVehicleAttached(Vehicle car) |
clearCharTasks(Ped ped) |
taskTogglePedThreatScanner(Ped ped, bool unknownFlag1, bool unknownFlag2, bool unknownFlag3) |
popCarDoor(Vehicle car, int door, bool visible) |
fixCarDoor(Vehicle car, int door) |
taskEveryoneLeaveCar(Vehicle car) |
bool result = isPlayerTargettingAnything(Player player) |
float X, float Y, float Z = getActiveCameraCoordinates() |
float X, float Y, float Z = getActiveCameraPointAt() |
popCarPanel(Vehicle car, int component, bool effectFlag) |
fixCarPanel(Vehicle car, int componentB) |
fixCarTire(Vehicle car, int tire) |
attachObjectToObject(Object object, int toObject, float offsetX, float offsetY, float offsetZ, float rotationX, float rotationY, float rotationZ) |
attachObjectToChar(Object object, Ped ped, float offsetX, float offsetY, float offsetZ, float rotationX, float rotationY, float rotationZ) |
float vecX, float vecY, float vecZ = getCarSpeedVector(Vehicle car) |
float mass = getCarMass(Vehicle car) |
taskDiveFromAttachmentAndGetUp(Ped ped, int timeMS) |
attachCharToBike(Ped ped, Vehicle car, float offsetX, float offsetY, float offsetZ, int position, float shootingAngle1, float shootingAngle2, int weapon) |
taskGotoCharOffset(Ped ped, int toActor, int timelimit, float approachDistance, float approachAngle) |
taskLookAtCoord(Ped ped, float toX, float toY, float toZ, int timeMS) |
hideCharWeaponForScriptedCutscene(Ped ped, bool hide) |
float speed = getCharSpeed(Ped ped) |
setGroupDecisionMaker(int group, int maker) |
int maker = loadGroupDecisionMaker(int type) |
disablePlayerSprint(Player player, bool mode) |
taskSitDown(Ped ped, int timeMS) |
Searchlight searchlight = createSearchlight(float atX, float atY, float atZ, float targetX, float targetY, float targetZ, float radius1, float radius2) |
deleteSearchlight(Searchlight searchlight) |
bool result = doesSearchlightExist(Searchlight searchlight) |
moveSearchlightBetweenCoords(Searchlight searchlight, float fromX, float fromY, float fromZ, float toX, float toY, float toZ, float speed) |
pointSearchlightAtCoord(Searchlight searchlight, float toX, float toY, float toZ, float speed) |
pointSearchlightAtChar(Searchlight searchlight, Ped ped, float speed) |
bool result = isCharInSearchlight(Searchlight searchlight, Ped ped) |
bool result = hasCutsceneLoaded() |
taskTurnCharToFaceCoord(Ped ped, float atX, float atY, float atZ) |
taskDrivePointRoute(Ped ped, Vehicle car, float speed) |
fireSingleBullet(float fromX, float fromY, float fromZ, float targetX, float targetY, float targetZ, int energy) |
bool result = isLineOfSightClear(float fromX, float fromY, float fromZ, float toX, float toY, float toZ, bool checkBuildings, bool checkVehicles, bool checkActors, bool checkObjects, bool checkParticles) |
float roll = getCarRoll(Vehicle car) |
pointSearchlightAtVehicle(Searchlight searchlight, Vehicle car, float speed) |
bool result = isVehicleInSearchlight(int int, Vehicle car) |
Searchlight searchlight = createSearchlightOnVehicle(Vehicle car, float offsetX, float offsetY, float offsetZ, float targetX, float targetY, float targetZ, float radius, float radius) |
taskGoToCoordWhileAiming(Ped ped, float toX, float toY, float toZ, int mode, float turnRadius, float stopRadius, Ped ped, float offsetX, float offsetY, float offsetZ) |
int num = getNumberOfFiresInRange(float atX, float atY, float atZ, float radius) |
Marker marker = addBlipForSearchlight(Searchlight searchlight) |
skipToEndAndStopPlaybackRecordedCar(Vehicle car) |
taskCarTempAction(Ped ped, Vehicle car, int performAction, int timelimit) |
setLaRiots(bool enable) |
removeCharFromGroup(Ped ped) |
attachSearchlightToSearchlightObject(Searchlight searchlight, int tower, int housing, int bulb, float offsetX, float offsetY, float offsetZ) |
switchEmergencyServices(bool enable) |
Checkpoint checkpoint = createCheckpoint(int type, float atX, float atY, float atZ, float pointX, float pointY, float pointZ, float radius) |
deleteCheckpoint(Checkpoint checkpoint) |
switchRandomTrains(bool enable) |
Vehicle train = createMissionTrain(int type, float atX, float atY, float atZ, bool direction) |
deleteMissionTrains() |
markMissionTrainsAsNoLongerNeeded() |
deleteAllTrains() |
setTrainSpeed(Vehicle train, float speed) |
setTrainCruiseSpeed(Vehicle train, float speed) |
int caboose = getTrainCaboose(Vehicle train) |
deletePlayer(Player player) |
setTwoPlayerCameraMode(bool mode) |
taskCarMission(Ped ped, Vehicle car, int targetCar, int order, float maxSpeed, int trafficFlag) |
taskGoToObject(Ped ped, int toObject, int timelimit, float stopWithinRadius) |
taskWeaponRoll(Ped ped, bool roll) |
taskCharArrestChar(Ped ped, int bustActor) |
Model itemID = getAvailableVehicleMod(Vehicle car, int poolIndex) |
int type = getVehicleModType(Model component) |
int componentId = addVehicleMod(Vehicle car, Model component) |
removeVehicleMod(Vehicle car, int componentId) |
requestVehicleMod(Model component) |
bool result = hasVehicleModLoaded(Model component) |
markVehicleModAsNoLongerNeeded(Model component) |
int num = getNumAvailablePaintjobs(Vehicle car) |
giveVehiclePaintjob(int set, int paintjob) |
bool result = isGroupMember(Ped ped, int group) |
bool result = isGroupLeader(Ped ped, int group) |
setGroupSeparationRange(int group, float range) |
limitTwoPlayerDistance(float distance) |
releaseTwoPlayerDistance() |
setPlayerPlayerTargetting(bool can) |
float X, float Y, float Z = getScriptFireCoords(int fire) |
float X, float Y, float Z, float ZAngle = getNthClosestCarNodeWithHeading(float forX, float forY, float forZ, int direction) |
setPlayersCanBeInSeparateCars(bool allow) |
bool result = doesCarHaveStuckCarCheck(Vehicle car) |
setPlaybackSpeed(Vehicle car, float speed) |
bool result = areAnyCharsNearChar(Ped ped, float range) |
skipCutsceneEnd() |
int percentage = getPercentageTaggedInArea(float x1, float y1, float x2, float y2) |
setTagStatusInArea(float x1, float y1, float x2, float y2, bool value) |
carGotoCoordinatesRacing(Vehicle car, float toX, float toY, float toZ) |
startPlaybackRecordedCarUsingAi(Vehicle car, int path) |
skipInPlaybackRecordedCar(Vehicle car, float path) |
clearCharDecisionMakerEventResponse(int maker, int event) |
addCharDecisionMakerEventResponse(int maker, int event, int taskID, float respect, float hate, float like, float dislike, bool inCar, bool onFoot) |
taskPickUpObject(Ped ped, Object object, float offsetX, float offsetY, float offsetZ, int boneId1, int boneId2, string performAnimation, int IFPFile, int time) |
dropObject(Ped ped, bool object) |
explodeCarInCutscene(Vehicle car) |
buildPlayerModel(Player player) |
planeAttackPlayer(int hydra, Vehicle car, float radius) |
planeFlyInDirection(int plane, float direction, float altitudemin, float altitudemax) |
planeFollowEntity(int plane, Ped ped, Vehicle car, float radius) |
taskDriveBy(Ped ped, int drivebyActor, Vehicle car, float pX, float pY, float pZ, float radiusX, int radiusY, bool radiusZ, int firingRate) |
setCarStayInSlowLane(Vehicle car, bool stay) |
takeRemoteControlOfCar(Player player, Vehicle car) |
bool result = isClosestObjectOfTypeSmashedOrDamaged(Model object, float atX, float atY, float atZ, float radius, bool smashed, bool damaged) |
startSettingUpConversation(Ped ped) |
finishSettingUpConversation() |
bool result = isConversationAtNode(Ped ped, GxtString gxtString) |
int health = getObjectHealth(Object object) |
setObjectHealth(Object object, int health) |
breakObject(Object object, int intensity) |
heliAttackPlayer(Vehicle heli, Player player, float radius) |
heliFollowEntity(Vehicle heli, Ped ped, Vehicle car, float radius) |
policeHeliChaseEntity(Vehicle heli, Ped ped, Vehicle car, float radius) |
taskUseMobilePhone(Ped ped, bool hold) |
taskWarpCharIntoCarAsDriver(Ped ped, Vehicle car) |
taskWarpCharIntoCarAsPassenger(Ped ped, Vehicle car, int passengerseat) |
switchCopsOnBikes(bool generate) |
bool result = isFlameInAngledArea2d(float x1, float y1, float x2, float y2, float angle, bool sphere) |
bool result = isFlameInAngledArea3d(float x1, float y1, float z1, float x2, float y2, float z2, float angle, bool sphere) |
addStuckCarCheckWithWarp(Vehicle car, float checkDistance, int time, bool stuck, bool flipped, bool warp, int path) |
damageCarPanel(Vehicle car, int door) |
setCarRoll(Vehicle car, float roll) |
bool result = suppressCarModel(Model modelId) |
dontSuppressCarModel(Model modelId) |
dontSuppressAnyCarModels() |
bool result = isPs2KeyboardKeyPressed(int key) |
bool result = isPs2KeyboardKeyJustPressed(int key) |
bool result = isCharHoldingObject(Ped ped, int liftingObject) |
setCarCanGoAgainstTraffic(Vehicle car, bool can) |
damageCarDoor(Vehicle car, int door) |
Vehicle car = getRandomCarInSphereNoSave(float X, float Y, float Z, float radius, int model) |
Ped ped = getRandomCharInSphere(float X, float Y, float Z, float radius, bool pedtypeCivilian, bool gang, bool prostitute) |
bool result = hasCharBeenArrested(Ped ped) |
setPlaneThrottle(int plane, float throttle) |
heliLandAtCoords(Vehicle heli, float X, float Y, float Z, float minaltitude, float maxaltitude) |
planeStartsInAir(int hydra) |
setRelationship(int acquaintance, int pedtype, int toPedtype) |
clearRelationship(int acquaintance, int pedtype, int toPedtype) |
clearGroupDecisionMakerEventResponse(int maker, int event) |
addGroupDecisionMakerEventResponse(int maker, int event, int taskID, float respect, float hate, float like, float dislike, bool inCar, bool onFoot) |
drawSpriteWithRotation(int texture, float x, float y, float scaleX, float scaleY, float angle, int r, int g, int b, int a) |
taskUseAttractor(Ped ped, int attractor) |
taskShootAtChar(Ped ped, int atActor, int timelimit) |
setInformRespectedFriends(int flags, float radius, int pedsToScan) |
bool result = isCharRespondingToEvent(Ped ped, int event) |
setObjectVisible(Object object, bool visibility) |
taskFleeCharAnyMeans(Ped ped, int fleeFrom, float runDistance, int time, bool changeCourse, int unkTime1, int unkTime2, float awayRadius) |
flushPatrolRoute() |
extendPatrolRoute(float X, float Y, float Z, string animation, string IFPFile) |
bool result = playObjectAnim(Object object, string animation, string IFPFile, float framedelta, bool lockF, bool loop) |
setRadarZoom(int zoom) |
bool result = doesBlipExist(Marker marker) |
loadPrices(GxtString shopping) |
loadShop(GxtString shopping) |
int num = getNumberOfItemsInShop() |
int item = getItemInShop(int index) |
int price = getPriceOfItem(int item) |
taskDead(Ped ped) |
setCarAsMissionCar(Vehicle car) |
setZonePopulationType(GxtString zone, int popcycle) |
setZoneDealerStrength(GxtString zone, int density) |
int strength = getZoneDealerStrength(GxtString zone) |
setZoneGangStrength(GxtString zone, int gang, int density) |
int density = getZoneGangStrength(GxtString zone, int gang) |
bool result = isMessageBeingDisplayed() |
setCharIsTargetPriority(Ped ped, bool targetPriority) |
customPlateDesignForNextCar(Model modelNumplate, int townTexture) |
taskGotoCar(Ped ped, Vehicle car, int timeMS, float stopAtDistance) |
requestIpl(string group) |
removeIpl(string group) |
removeIplDiscreetly(string group) |
setCharRelationship(Ped ped, int acquaintance, int pedtype) |
clearCharRelationship(Ped ped, int acquaintance, int pedtype) |
clearAllCharRelationships(Ped ped, int acquaintance) |
float pitch = getCarPitch(Vehicle car) |
int interior = getActiveInterior() |
heliKeepEntityInView(Vehicle heli, Ped ped, Vehicle car, float minaltitude, float maxaltitude) |
int model = getWeapontypeModel(int id) |
int slot = getWeapontypeSlot(int id) |
int info = getShoppingExtraInfo(int item, int flag) |
givePlayerClothes(Player player, int texture, int model, int bodypart) |
int num = getNumberOfFiresInArea(float x1, float y1, float z1, float x2, float y2, float z2) |
attachWinchToHeli(Vehicle heli, bool magnet) |
releaseEntityFromWinch(Vehicle heli) |
int carriage = getTrainCarriage(Vehicle train, int handle) |
Vehicle carHandle, Ped pedHandle, Object objectHandle = grabEntityOnWinch(Vehicle heli) |
GxtString name = getNameOfItem(int item) |
taskClimb(Ped ped, bool climb) |
buyItem(int item) |
clearCharTasksImmediately(Ped ped) |
storeClothesState() |
restoreClothesState() |
float length = getRopeHeightForObject(int magnet) |
setRopeHeightForObject(int magnet, float length) |
Vehicle carHandle, Ped pedHandle, Object objectHandle = grabEntityOnRopeForObject(int magnet) |
releaseEntityFromRopeForObject(int magnet) |
playerEnteredDockCrane() |
playerEnteredBuildingsiteCrane() |
playerLeftCrane() |
performSequenceTaskFromProgress(Ped ped, int sequence, int unkProgress1, int unkProgress2) |
setNextDesiredMoveState(int speed) |
taskGotoCharAiming(Ped ped, int followActor, float minradius, float maxradius) |
int unkProgress1, int unkProgress2 = getSequenceProgressRecursive(Ped ped) |
taskKillCharOnFootTimed(Ped ped, int attackActor, int time) |
float X, float Y, float Z = getNearestTagPosition(float X, float Y, float Z) |
taskJetpack(Ped ped) |
setArea51SamSite(bool enable) |
bool result, Searchlight searchlight = isCharInAnySearchlight(Ped ped) |
bool result = isTrailerAttachedToCab(Vehicle trailer, Vehicle car) |
detachTrailerFromCab(Vehicle trailer, Vehicle cab) |
int group = getPlayerGroup(Player player) |
GxtString shop = getLoadedShop() |
int int2, int int3, int int4 = getBeatProximity(int track) |
setGroupDefaultTaskAllocator(int group, int command) |
setPlayerGroupRecruitment(Player player, bool enabled) |
activateHeliSpeedCheat(Vehicle heli, int power) |
taskSetCharDecisionMaker(Ped ped, int maker) |
deleteMissionTrain(Vehicle train) |
markMissionTrainAsNoLongerNeeded(Vehicle train) |
setBlipAlwaysDisplayOnZoomedRadar(Marker marker, bool displayAlways) |
requestCarRecording(int path) |
bool result = hasCarRecordingBeenLoaded(int path) |
setMissionTrainCoordinates(Vehicle train, float X, float Y, float Z) |
taskComplexPickupObject(Ped ped, Object object) |
listenToPlayerGroupCommands(Ped ped, bool listen) |
setPlayerEnterCarButton(Player player, bool can) |
taskCharSlideToCoord(Ped ped, float toX, float toY, float toZ, float angle, float withinRadius) |
int weekday = getCurrentDayOfWeek() |
registerScriptBrainForCodeUse(int id, GxtString gxtString) |
applyForceToCar(Vehicle car, float vecX, float vecY, float vecZ, float rotationX, float rotationY, float rotationZ) |
addToCarRotationVelocity(Vehicle car, float vecX, float vecY, float vecZ) |
setCarRotationVelocity(Vehicle car, float vecX, float vecY, float vecZ) |
setCharShootRate(Ped ped, int rate) |
bool result = isModelInCdimage(Model modelId) |
removeOilPuddlesInArea(float x1, float y1, float x2, float y2) |
setBlipAsFriendly(Marker marker, bool type) |
taskSwimToCoord(Ped ped, float toX, float toY, float toZ) |
float x1, float y1, float z1, float x2, float y2, float z2 = getModelDimensions(Model modelId) |
int maker = copyCharDecisionMaker(Ped ped) |
int maker = copyGroupDecisionMaker(int group) |
taskDrivePointRouteAdvanced(Ped ped, Vehicle car, float speed, int flag1, int flag2, int flag3) |
bool result = isRelationshipSet(int acquaintance, int ofActors, int toActors) |
setCarAlwaysCreateSkids(Vehicle car, bool enable) |
int city = getCityFromCoords(float X, float Y, float Z) |
bool result = hasObjectOfTypeBeenSmashed(float X, float Y, float Z, float radius, Model modelId) |
bool result = isPlayerPerformingWheelie(Player player) |
bool result = isPlayerPerformingStoppie(Player player) |
setCheckpointCoords(Checkpoint checkpoint, float X, float Y, float Z) |
controlCarHydraulics(Vehicle car, float f1, float f2, float f3, float f4) |
int numberOfLeaders, int numberOfMembers = getGroupSize(int group) |
setObjectCollisionDamageEffect(Object object, bool destructible) |
setCarFollowCar(Vehicle car, int followCar, float radius) |
playerEnteredQuarryCrane() |
playerEnteredLasVegasCrane() |
switchEntryExit(GxtString interior, bool access) |
displayTextWithFloat(float X, float Y, GxtString GXT, float value, int flag) |
bool result = doesGroupExist(int group) |
giveMeleeAttackToChar(Ped ped, int fightingStyle, int moves) |
setCarHydraulics(Vehicle car, bool hydraulics) |
bool result = is2playerGameGoingOn() |
float fov = getCameraFov() |
bool result = doesCarHaveHydraulics(Vehicle car) |
taskCharSlideToCoordAndPlayAnim(Ped ped, float toX, float toY, float toZ, float angle, float radius, string animation, int ifp1, float ifp2, bool LA, bool LX, bool LY, bool LF, int LT) |
int number = getTotalNumberOfPedsKilledByPlayer(Player player) |
float X, float Y, float Z = getLevelDesignCoordsForObject(Object object, int spoot) |
int event = getCharHighestPriorityEvent(Ped ped) |
float X, float Y, float Z = getParkingNodeInArea(float x1, float y1, float z1, float x2, float y2, float z2) |
Vehicle car = getCarCharIsUsing(Ped ped) |
taskPlayAnimNonInterruptable(Ped ped, string animation, string IFP, float framedelta, bool loopA, bool lockX, bool lockY, bool lockF, int time) |
addStuntJump(float startX, float startY, float startZ, float radiusX, float radiusY, float radiusZ, float goalX, float goalY, float goalZ, float radius2X, float radius2Y, float radius2Z, float cameraX, float cameraY, float cameraZ, int reward) |
setObjectCoordinatesAndVelocity(Object object, float X, float Y, float Z) |
setCharKindaStayInSamePlace(Ped ped, bool stay) |
taskFollowPatrolRoute(Ped ped, int walkMode, int routeMode) |
bool result = isCharInAir(Ped ped) |
float height = getCharHeightAboveGround(Ped ped) |
setCharWeaponSkill(Ped ped, int skill) |
setTextEdge(int size, int r, int g, int b, int a) |
setCarEngineBroken(Vehicle car, bool broken) |
bool result = isThisModelABoat(Model modelId) |
bool result = isThisModelAPlane(Model modelId) |
bool result = isThisModelAHeli(Model modelId) |
setFirstPersonInCarCameraMode(bool enable) |
taskGreetPartner(Ped ped, Ped ped2, float unk1, int unk2) |
setHeliBladesFullSpeed(Vehicle heli) |
displayHud(bool enable) |
connectLods(Object object, int lod) |
setMaxFireGenerations(int max) |
taskDieNamedAnim(Ped ped, string animation, string ifp1, float ifp2, int time) |
setPlayerDuckButton(Player player, bool able) |
setPoolTableCoords(float x1, float y1, float z1, float x2, float y2, float z2) |
bool result = hasObjectBeenPhotographed(Object object) |
doCameraBump(float rotationZ, float rotationY) |
int day, int month = getCurrentDate() |
setObjectAnimSpeed(Object object, string animation, float speed) |
bool result = isObjectPlayingAnim(Object object, string anim) |
float progress = getObjectAnimCurrentTime(Object object, string animation) |
setObjectAnimCurrentTime(Object object, string animation, float progress) |
setCharVelocity(Ped ped, float vecX, float vecY, float vecZ) |
float vecX, float vecY, float vecZ = getCharVelocity(Ped ped) |
setCharRotation(Ped ped, float vecX, float vecY, float vecZ) |
float value = getCarUprightValue(Vehicle car) |
setVehicleInterior(Vehicle car, int interior) |
selectWeaponsForVehicle(Vehicle car, bool gun) |
int city = getCityPlayerIsIn(Player player) |
GxtString name = getNameOfZone(float X, float Y, float Z) |
activateInteriorPeds(bool activate) |
setVehicleCanBeTargetted(Vehicle car, bool unk) |
taskFollowFootsteps(Ped ped, int followActor) |
damageChar(Ped ped, int health, bool affectArmour) |
setCarCanBeVisiblyDamaged(Vehicle car, bool can) |
setHeliReachedTargetDistance(Vehicle heli, int dist) |
float level = getSoundLevelAtCoords(Ped ped, float X, float Y, float Z) |
setCharAllowedToDuck(Ped ped, bool enable) |
setHeadingForAttachedPlayer(Player player, float toAngle, float rotationSpeed) |
taskWalkAlongsideChar(Ped ped, int alongisdeActor) |
createEmergencyServicesCar(Model car, float X, float Y, float Z) |
taskKindaStayInSamePlace(Ped ped, bool stay) |
startPlaybackRecordedCarLooped(Vehicle car, int path) |
setCharInterior(Ped ped, int interior) |
bool result = isAttachedPlayerHeadingAchieved(Player player) |
enableEntryExitPlayerGroupWarping(float X, float Y, float radius, bool access) |
Object object = getClosestStealableObject(float X, float Y, float Z, float radius) |
bool result = isProceduralInteriorActive(int interior) |
removeCarRecording(int path) |
setZonePopulationRace(GxtString zone, int popcycle) |
setObjectOnlyDamagedByPlayer(Object object, bool player) |
createBirds(float x1, float y1, float z1, float x2, float y2, float z2, int flag1, int flag2) |
setVehicleDirtLevel(Vehicle car, float level) |
setGangWarsActive(bool enable) |
bool result = isGangWarGoingOn() |
givePlayerClothesOutsideShop(Player player, string clothes, string model, int bodyPart) |
clearLoadedShop() |
setGroupSequence(int group, int Aspack) |
setCharDropsWeaponsWhenDead(Ped ped, bool droppable) |
setCharNeverLeavesGroup(Ped ped, bool set) |
setPlayerFireButton(Player player, bool able) |
attachFxSystemToCharBone(Particle particle, Ped ped, int mode) |
registerAttractorScriptBrainForCodeUse(int handle, GxtString script) |
setHeadingLimitForAttachedChar(Ped ped, int orientation, float limit) |
Marker blip = addBlipForDeadChar(Ped ped) |
float X, float Y, float Z = getDeadCharCoordinates(Ped ped) |
taskPlayAnimWithFlags(Ped ped, string animation, string ifp, float framedelta, bool loopA, bool lockX, bool lockY, bool lockF, int time, bool force, bool lockZ) |
setVehicleAirResistanceMultiplier(Vehicle car, float multiplier) |
setCarCoordinatesNoOffset(Vehicle car, float X, float Y, float Z) |
setUsesCollisionOfClosestObjectOfType(float X, float Y, float Z, float radius, Model modelId, bool collisionDetection) |
setTimeOneDayForward() |
setTimerBeepCountdownTime(VarId timer, int reach) |
attachTrailerToCab(int trailer, int cab) |
bool result = isVehicleTouchingObject(Vehicle car, Object object) |
enableCraneControls(bool UP, bool DOWN, bool RELEASE) |
bool result = isPlayerInPositionForConversation(Ped ped) |
enableConversation(Ped ped, bool enable) |
Ped ped = getRandomCharInSphereOnlyDrugsBuyers(float X, float Y, float Z, float radius) |
int pedtype = getPedType(Ped ped) |
bool result = taskUseClosestMapAttractor(Ped ped, float radius, Model nearModel, float offsetX, float offsetY, float offsetZ, string scriptNamed) |
planeAttackPlayerUsingDogFight(int hydra, Player player, float radius) |
canTriggerGangWarWhenOnAMission(bool can) |
controlMovableVehiclePart(Vehicle car, float angle) |
winchCanPickVehicleUp(Vehicle car, bool attractive) |
openCarDoorABit(Vehicle car, int door, float rotation) |
bool result = isCarDoorFullyOpen(Vehicle car, int door) |
setAlwaysDraw3dMarkers(bool set) |
streamScript(int script) |
bool result = hasStreamedScriptLoaded(int script) |
setGangWarsTrainingMission(bool set) |
setCharHasUsedEntryExit(Ped ped, float X, float Y, float radius) |
setCharMaxHealth(Ped ped, int health) |
setNightVision(bool enable) |
setInfraredVision(bool enable) |
setZoneForGangWarsTraining(GxtString zone) |
setCharCanBeKnockedOffBike(Ped ped, bool can) |
setCharCoordinatesDontWarpGang(Ped ped, float X, float Y, float Z) |
addPriceModifier(int item, int price) |
removePriceModifier(int item) |
initZonePopulationSettings() |
explodeCarInCutsceneShakeAndBits(Vehicle car, bool shake, bool effect, bool sound) |
bool result = isSkipCutsceneButtonPressed() |
bool result, float X, float Y, float Z = getCutsceneOffset() |
setObjectScale(Object object, float scale) |
int popcycle = getCurrentPopulationZoneType() |
int menu = createMenu(GxtString title, float posX, float posY, float width, int columns, bool interactive, bool background, int alignment) |
setMenuColumnOrientation(int menu, int column, int alignment) |
int item = getMenuItemSelected(int menu) |
int item = getMenuItemAccepted(int menu) |
activateMenuItem(int menu, int row, bool enable) |
deleteMenu(int menu) |
setMenuColumn(int menu, int column, GxtString header, GxtString data1, GxtString data2, GxtString data3, GxtString data4, GxtString data5, GxtString data6, GxtString data7, GxtString data8, GxtString data9, GxtString data10, GxtString data11, GxtString data12) |
setBlipEntryExit(Marker marker, float X, float Y, float radius) |
switchDeathPenalties(bool lose) |
switchArrestPenalties(bool lose) |
setExtraHospitalRestartPoint(float X, float Y, float Z, float radius, float angle) |
setExtraPoliceStationRestartPoint(float X, float Y, float Z, float radius, float angle) |
int num = findNumberTagsTagged() |
int percentage = getTerritoryUnderControlPercentage() |
bool result = isObjectInAngledArea2d(Object object, float x1, float y1, float x2, float y2, float radius, bool sphere) |
bool result = isObjectInAngledArea3d(Object object, float x1, float y1, float z1, float x2, float y2, float z2, float depth, bool flag) |
Ped ped = getRandomCharInSphereNoBrain(float X, float Y, float Z, float radius) |
setPlaneUndercarriageUp(int plane, bool set) |
disableAllEntryExits(bool disable) |
attachAnimsToModel(Model modelId, GxtString externalScript) |
setObjectAsStealable(Object object, bool liftable) |
setCreateRandomGangMembers(bool enable) |
addSparks(float posX, float posY, float posZ, float vecX, float vecY, float vecZ, int density) |
int class = getVehicleClass(Vehicle car) |
clearConversationForChar(Ped ped) |
setMenuItemWithNumber(int panel, int column, int row, GxtString gxtString, int number) |
setMenuItemWith2Numbers(int panel, int column, int row, GxtString gxtString, int numbers1, int numbers2) |
setCutsceneModelTexture(GxtString cutsceneModel, GxtString textureName) |
GxtString nameB = getNameOfInfoZone(float atX, float atY, float atZ) |
vehicleCanBeTargettedByHsMissile(Vehicle car, bool targetable) |
setFreebiesInVehicle(Vehicle car, bool containsGoodies) |
setScriptLimitToGangSize(bool max) |
makePlayerGangDisappear() |
makePlayerGangReappear() |
int textureCRC, int modelCRC = getClothesItem(Player player, int bodypart) |
showUpdateStats(bool display) |
setCoordBlipAppearance(Checkpoint checkpoint, int type) |
setHeathazeEffect(bool enable) |
bool result = isHelpMessageBeingDisplayed() |
bool result = hasObjectBeenDamagedByWeapon(Object object, int type) |
clearObjectLastWeaponDamage(Object object) |
setPlayerJumpButton(Player player, bool enable) |
int r, int g, int b, int a = getHudColour(int interface) |
lockDoor(int door, bool lock) |
setObjectMass(Object object, float mass) |
float mass = getObjectMass(int int) |
setObjectTurnMass(Object object, float turnMass) |
float turnMass = getObjectTurnMass(Object object) |
setSpecificZoneToTriggerGangWar(GxtString zone) |
clearSpecificZonesToTriggerGangWar() |
setActiveMenuItem(int panel, int activeRow) |
markStreamedScriptAsNoLongerNeeded(int externalScript) |
removeStreamedScript(int externalScript) |
setMessageFormatting(bool priority, int leftmargin, int maxwidth) |
startNewStreamedScript(int externalScript, table args) |
setWeatherToAppropriateTypeNow() |
winchCanPickObjectUp(Object object, bool enable) |
switchAudioZone(GxtString zone, bool enableSound) |
setCarEngineOn(Vehicle car, bool on) |
setCarLightsOn(Vehicle car, bool lights) |
Ped ped = getUserOfClosestMapAttractor(float sphereX, float sphereY, float sphereZ, float radius, Model modelId, string externalScriptNamed) |
switchRoadsBackToOriginal(float cornerAX, float cornerAY, float cornerAZ, float cornerBX, float cornerBY, float cornerBZ) |
switchPedRoadsBackToOriginal(float cornerAX, float cornerAY, float cornerAZ, float cornerBX, float cornerBY, float cornerBZ) |
int landingGearStatus = getPlaneUndercarriagePosition(int plane) |
cameraSetVectorTrack(float pointX, float pointY, float pointZ, float transverseX, float transverseY, float transverseZ, int time, bool smooth) |
cameraSetLerpFov(float from, float to, int timelimit, bool smoothTransition) |
switchAmbientPlanes(bool enable) |
setDarknessEffect(bool enable, int value) |
cameraResetNewScriptables() |
int value = getNumberOfInstancesOfStreamedScript(int externalScript) |
allocateStreamedScriptToRandomPed(int externalScript, Model actorModel, int priority) |
allocateStreamedScriptToObject(int externalScript, Model objectModel, int priority, float radius, int type) |
int handle = getGroupMember(int group, int member) |
float height = getWaterHeightAtCoords(float atX, float atY, bool ignoreWaves) |
cameraPersistTrack(bool lock) |
cameraPersistPos(bool lock) |
cameraPersistFov(bool lock) |
bool result = cameraIsVectorMoveRunning() |
bool result = cameraIsVectorTrackRunning() |
cameraSetVectorMove(float cameraX, float cameraY, float cameraZ, float positionX, float positionY, float positionZ, int time, bool smoothTransition) |
drawWindow(float cornerAX, float cornerAY, float cornerBX, float cornerBY, GxtString gxtString, int style) |
attachCarToObject(Vehicle car, Object object, float offsetX, float offsetY, float offsetZ, float rotationX, float rotationY, float rotationZ) |
setGarageResprayFree(GxtString garage, bool free) |
setCharBulletproofVest(Ped ped, bool enable) |
setCinemaCamera(bool lock) |
setCharFireDamageMultiplier(Ped ped, float multiplier) |
setGroupFollowStatus(int group, bool status) |
setSearchlightClipIfColliding(Searchlight searchlight, bool flag) |
bool result = hasPlayerBoughtItem(int item) |
setCameraInFrontOfChar(Ped ped) |
int maxArmour = getPlayerMaxArmour(Player player) |
setCharUsesUpperbodyDamageAnimsOnly(Ped ped, bool uninterupted) |
int spokenPhrase = setCharSayContext(Ped ped, int speech) |
addExplosionVariableShake(float atX, float atY, float atZ, int type, float cameraShake) |
attachMissionAudioToChar(int id, Ped ped) |
updatePickupMoneyPerDay(Pickup pickup, int cash) |
GxtString interiorName = getNameOfEntryExitCharUsed(Ped ped) |
float coordX, float coordY, float coordZ, int number = getPositionOfEntryExitCharUsed(Ped ped) |
bool result = isCharTalking(Ped ped) |
disableCharSpeech(Ped ped, bool disable) |
enableCharSpeech(Ped ped) |
setUpSkip(float posX, float posY, float posZ, float angle) |
clearSkip() |
preloadBeatTrack(int soundtrack) |
int status = getBeatTrackStatus() |
playBeatTrack() |
stopBeatTrack() |
int max = findMaxNumberOfGroupMembers() |
vehicleDoesProvideCover(Vehicle car, bool providesCover) |
Pickup pickup = createSnapshotPickup(float atX, float atY, float atZ) |
Pickup pickup = createHorseshoePickup(float atX, float atY, float atZ) |
Pickup pickup = createOysterPickup(float atX, float atY, float atZ) |
bool result = hasObjectBeenUprooted(Object object) |
addSmokeParticle(float atX, float atY, float atZ, float velocityX, float velocityY, float velocityZ, int r, int g, int b, int a, float size, float factor) |
bool result = isCharStuckUnderCar(Ped ped) |
controlCarDoor(Vehicle car, int door, int unlatch, float angle) |
float angle = getDoorAngleRatio(Vehicle car, int door) |
setPlayerDisplayVitalStatsButton(Player player, bool display) |
setCharKeepTask(Ped ped, bool keepTasks) |
int id = createMenuGrid(GxtString gxtString, int positionX, int positionY, float width, int columns, bool interactive, bool background, int alignment) |
bool result = isCharSwimming(Ped ped) |
int status = getCharSwimState(Ped ped) |
startCharFacialTalk(Ped ped, int time) |
stopCharFacialTalk(Ped ped) |
bool result = isBigVehicle(Vehicle car) |
switchPoliceHelis(bool enable) |
storeCarModState() |
restoreCarModState() |
Model modelId = getCurrentCarMod(Vehicle car, int slot) |
bool result = isCarLowRider(Vehicle car) |
bool result = isCarStreetRacer(Vehicle car) |
forceDeathRestart() |
syncWater() |
setCharCoordinatesNoOffset(Ped ped, float atX, float atY, float atZ) |
bool result = doesScriptFireExist(int fire) |
resetStuffUponResurrection() |
bool result = isEmergencyServicesVehicle(Vehicle car) |
killFxSystemNow(Particle particle) |
bool result = isObjectWithinBrainActivationRange(Player player) |
int to = copySharedCharDecisionMaker(int from) |
reportMissionAudioEventAtPosition(float atX, float atY, float atZ, int event) |
reportMissionAudioEventAtObject(int at, int event) |
attachMissionAudioToObject(int id, Object object) |
int colours = getNumCarColours(Vehicle car) |
extinguishFireAtPoint(float atX, float atY, float atZ, float radius) |
bool result = hasTrainDerailed(Vehicle train) |
setCharForceDieInCar(Ped ped, bool stayInCarWhenDead) |
setOnlyCreateGangMembers(bool enable) |
Model modelId = getObjectModel(Object object) |
setCharUsesCollisionClosestObjectOfType(float sphereX, float sphereY, float sphereZ, float radius, Model modelId, bool solid, int forActor) |
clearAllScriptFireFlags() |
int blockingCar = getCarBlockingCar(Vehicle car) |
int paintjob = getCurrentVehiclePaintjob(Vehicle car) |
setHelpMessageBoxSize(int width) |
setGunshotSenseRangeForRiot2(float range) |
float angle = getCarMovingComponentOffset(Vehicle car) |
setNamedEntryExitFlag(GxtString interior, int bitmask, bool flag) |
pauseCurrentBeatTrack(bool paused) |
setPlayerWeaponsScrollable(Player player, bool scrollable) |
markRoadNodeAsDontWander(float atX, float atY, float atZ) |
unmarkAllRoadNodesAsDontWander() |
setCheckpointHeading(Checkpoint checkpoint, float angle) |
setMissionRespectTotal(int respect) |
awardPlayerMissionRespect(int respect) |
setCarCollision(Vehicle car, bool collision) |
changePlaybackToUseAi(Vehicle car) |
cameraSetShakeSimulationSimple(int type, float timelimit, float intensity) |
bool result = isNightVisionActive() |
setCreateRandomCops(bool enable) |
taskSetIgnoreWeaponRangeFlag(Ped ped, bool ignore) |
taskPickUpSecondObject(Ped ped, Object object, float offsetX, float offsetY, float offsetZ, int bone, int int7, string animation, string file, int time) |
dropSecondObject(Ped ped, bool to) |
removeObjectElegantly(Object object) |
drawCrosshair(bool draw) |
setUpConversationNodeWithSpeech(GxtString question, GxtString answerY, GxtString answerN, int questionWav, int answerYWav, int answerNWav) |
showBlipsOnAllLevels(bool enable) |
setCharDruggedUp(Ped ped, bool druggedUp) |
bool result = isCharHeadMissing(Ped ped) |
int CRC32 = getHashKey(string string) |
setUpConversationEndNodeWithSpeech(GxtString gxtString, int speech) |
randomPassengerSay(int passengers, int audioTable) |
hideAllFrontendBlips(bool hide) |
setPlayerInCarCameraMode(int mode) |
bool result = isCharInAnyTrain(Ped ped) |
setUpSkipAfterMission(float posX, float posY, float posZ, float angle) |
setVehicleIsConsideredByPlayer(Vehicle car, bool accessible) |
Model modelId, int class = getRandomCarModelInMemory(bool unk) |
int doorStatus = getCarDoorLockStatus(Vehicle car) |
setClosestEntryExitFlag(float atX, float atY, float radius, int bitmask, bool flag) |
setCharSignalAfterKill(Ped ped, bool signal) |
setCharWantedByPolice(Ped ped, bool wanted) |
setZoneNoCops(GxtString zone, bool disableCops) |
addBlood(float atX, float atY, float atZ, float offsetX, float offsetY, float offsetZ, int density, int onActor) |
displayCarNames(bool show) |
displayZoneNames(bool show) |
bool result = isCarDoorDamaged(Vehicle car, int door) |
setCharCoordinatesDontWarpGangNoOffset(Ped ped, float atX, float atY, float atZ) |
setMinigameInProgress(bool enable) |
bool result = isMinigameInProgress() |
setForceRandomCarModel(Model modelId) |
Vehicle car = getRandomCarOfTypeInAngledAreaNoSave(float x1, float y1, float x2, float y2, float angle, int int6) |
addNextMessageToPreviousBriefs(bool int1) |
failKillFrenzy() |
bool result = isCopVehicleInArea3dNoSave(float cornerAX, float cornerAY, float cornerAZ, float cornerBX, float cornerBY, float cornerBZ) |
setPetrolTankWeakpoint(Vehicle car, bool enabled) |
bool result = isCharUsingMapAttractor(Ped ped) |
setPlayerModel(Player player, Model modelId) |
bool result = areSubtitlesSwitchedOn() |
removeCharFromCarMaintainPosition(Ped ped, Vehicle car) |
setObjectProofs(Object object, bool BP, bool FP, bool EP, bool CP, bool MP) |
bool result = isCarTouchingCar(Vehicle car1, Vehicle car2) |
bool result = doesObjectHaveThisModel(Object object, Model modelId) |
setTrainForcedToSlowDown(Vehicle train, bool forced) |
bool result = isVehicleOnAllWheels(Vehicle car) |
bool result = doesPickupExist(Pickup pickup) |
enableAmbientCrime(bool enable) |
clearWantedLevelInGarage() |
int unk = setCharSayContextImportant(Ped ped, int soundslot, bool flags1, bool flags2, bool flags3) |
setCharSayScript(Ped ped, int sound, bool flags1, bool flags2, bool flags3) |
forceInteriorLightingForPlayer(Player player, bool force) |
useDetonator() |
bool result = isMoneyPickupAtCoords(float atX, float atY, float atZ) |
setMenuColumnWidth(int panel, int column, int width) |
makeRoomInPlayerGangForMissionPeds(int group) |
bool result = isCharGettingInToACar(Ped ped) |
setUpSkipForSpecificVehicle(float posX, float posY, float posZ, float angle, Vehicle car) |
int price = getCarModelValue(Model modelId) |
int generator = createCarGeneratorWithPlate(float atX, float atY, float atZ, float angle, Model modelId, int color1, int color2, bool forceSpawn, int alarm, int doorLock, int minDelay, int maxDelay, string plate) |
bool result = findTrainDirection(Vehicle train) |
setAircraftCarrierSamSite(bool enable) |
drawLightWithRange(float atX, float atY, float atZ, int r, int g, int b, float radius) |
enableBurglaryHouses(bool enable) |
bool result = isPlayerControlOn(Player player) |
int interior = getCharActiveInterior(Ped ped) |
giveNonPlayerCarNitro(Vehicle car) |
playerTakeOffGoggles(Player player, bool useAnim) |
allowFixedCameraCollision(bool allow) |
bool result = hasCharSpottedCharInFront(Ped ped, Ped ped2) |
forceBigMessageAndCounter(bool stayOnScreen) |
setVehicleCameraTweak(Model carModel, float distance, float altitudeMultiplier, float angleX) |
resetVehicleCameraTweak() |
reportMissionAudioEventAtChar(Ped ped, int event) |
bool result = doesDecisionMakerExist(int maker) |
ignoreHeightDifferenceFollowingNodes(Ped ped, bool ignore) |
shutAllCharsUp(bool enable) |
setCharGetOutUpsideDownCar(Ped ped, bool canGetOut) |
reportMissionAudioEventAtCar(Vehicle car, int event) |
doWeaponStuffAtStartOf2pGame() |
bool result = hasGameJustReturnedFromFrontend() |
int language = getCurrentLanguage() |
bool result = isObjectIntersectingWorld(Object object) |
int width = getStringWidth(GxtString gxtString) |
resetVehicleHydraulics(Vehicle car) |
setRespawnPointForDurationOfMission(float posX, float posY, float posZ) |
bool result = isThisModelACar(Model modelId) |
switchOnGroundSearchlight(Searchlight searchlight, bool lightsThroughObstacles) |
bool result = isGangWarFightingGoingOn() |
bool result = isNextStationAllowed(Vehicle train) |
skipToNextAllowedStation(Vehicle train) |
int width = getStringWidthWithNumber(GxtString gxtString, int number) |
shutCharUpForScriptedSpeech(Ped ped, bool muted) |
enableDisabledAttractorsOnObject(Object object, bool enable) |
loadSceneInDirection(float coordX, float coordY, float coordZ, float angle) |
bool result = isPlayerUsingJetpack(Player player) |
clearThisPrintBigNow(int style) |
bool result = hasLanguageChanged() |
incrementIntStatNoMessage(int stat, int value) |
setExtraCarColours(Vehicle car, int tertiaryColor, int quaternaryColor) |
int tertiaryColor, int quaternaryColor = getExtraCarColours(Vehicle car) |
manageAllPopulation() |
setNoResprays(bool enable) |
bool result = hasCarBeenResprayed(Vehicle car) |
attachMissionAudioToCar(int audioId, Vehicle car) |
setHasBeenOwnedForCarGenerator(int generator, bool owned) |
setUpConversationNodeWithScriptedSpeech(GxtString questionGXT, GxtString answerYesGXT, GxtString answerNoGXT, int questionWAV, int answerYesWAV, int answerNoWAV) |
setAreaName(GxtString gxtString) |
taskPlayAnimSecondary(Ped ped, string animation, string IFP, float framedelta, bool loopA, bool lockX, bool lockY, bool lockF, int time) |
bool result = isCharTouchingChar(Ped ped, Ped ped2) |
disableHeliAudio(Vehicle helicopter, bool disable) |
taskHandGesture(Ped ped, Ped ped2) |
takePhoto(bool unk) |
incrementFloatStatNoMessage(int stat, float value) |
setPlayerGroupToFollowAlways(Player player, bool followAlways) |
improveCarByCheating(Vehicle car, bool affectedByCheats) |
changeCarColourFromMenu(int panelID, Vehicle car, int colorslot, int activeRow) |
highlightMenuItem(int panel, int row, bool highlight) |
setDisableMilitaryZones(bool disable) |
setCameraPositionUnfixed(float xAngle, float zAngle) |
setRadioToPlayersFavouriteStation() |
setDeathWeaponsPersist(Ped ped, bool persist) |
setCharSwimSpeed(Ped ped, float speed) |
bool result = isPlayerClimbing(Player player) |
bool result = isThisHelpMessageBeingDisplayed(GxtString gxtString) |
bool result = isWidescreenOnInOptions() |
drawSubtitlesBeforeFade(bool flag) |
drawOddjobTitleBeforeFade(bool flag) |
taskFollowPathNodesToCoordWithRadius(Ped ped, float toX, float toY, float toZ, int mode, int time, float stopRadius) |
setPhotoCameraEffect(bool firstPersonView) |
fixCar(Vehicle car) |
setPlayerGroupToFollowNever(Player player, bool neverFollow) |
bool result = isCharAttachedToAnyCar(Ped ped) |
Ped ped = storeCarCharIsAttachedToNoSave(Vehicle car) |
setUpSkipForVehicleFinishedByScript(float posX, float posY, float posZ, float angle, Vehicle car) |
bool result = isSkipWaitingForScriptToFadeIn() |
forceAllVehicleLightsOff(bool off) |
int mode = getPlayerInCarCameraMode() |
bool result = isLastBuildingModelShotByPlayer(Player player, Model modelId) |
clearLastBuildingModelShotByPlayer(Player player) |
setUpConversationEndNodeWithScriptedSpeech(GxtString dialogueGxt, int wav) |
activatePimpCheat(bool enable) |
Ped ped = getRandomCharInAreaOffsetNoSave(float sphereX, float sphereY, float sphereZ, float radiusX, float radiusY, float radiusZ) |
setScriptCoopGame(bool enable) |
Marker marker = createUser3dMarker(float atX, float atY, float atZ, int color) |
removeUser3dMarker(Marker marker) |
getRidOfPlayerProstitute() |
displayNonMinigameHelpMessages(bool display) |
setRailtrackResistanceMult(float tracksFriction) |
switchObjectBrains(int externalScript, bool canBeStreamedIn) |
finishSettingUpConversationNoSubtitles() |
allowPauseInWidescreen(bool enable) |
float x, float y = getPcMouseMovement() |
bool result = isPcUsingJoypad() |
bool result = isMouseUsingVerticalInversion() |
bool result = startNewCustomScript(zstring filepath, table args) |
launchCustomMission(zstring filepath, table args) |
int handle = getScmThreadStructNamed(GxtString thread) |
setCleoSharedVar(int var, int value) |
int value = getCleoSharedVar(int var) |
sampSpawnPlayer() |
uint handle = sampGetBase() |
sampAddChatMessage(zstring text, uint color) |
sampSendChat(zstring text) |
bool result = isSampAvailable() |
sampRequestClass(int class) |
sampSendScmEvent(int event, int id, int param1, int param2) |
sampSetSpecialAction(int action) |
sampSendDeathByPlayer(int playerId, int reason) |
bool result, Vehicle car = sampGetCarHandleBySampVehicleId(int id) |
bool result, Ped ped = sampGetCharHandleBySampPlayerId(int id) |
bool result = sampIsChatInputActive() |
sampSetSendrate(int type, int rate) |
bool result = sampIsPlayerConnected(int id) |
uint structPtr = sampGetPlayerStructPtr(int id) |
int health = sampGetPlayerHealth(int id) |
int armor = sampGetPlayerArmor(int id) |
sampSetGamestate(int gamestate) |
sampDisconnectWithReason(bool timeout) |
sampSetLocalPlayerName(zstring name) |
int ping = sampGetPlayerPing(int id) |
bool result, int id = sampGetPlayerIdByCharHandle(Ped ped) |
bool result, int id = sampGetVehicleIdByCarHandle(Vehicle car) |
bool result, float posX, float posY, float posZ = sampGetStreamedOutPlayerPos(int id) |
sampSendEnterVehicle(int id, bool passenger) |
sampSendExitVehicle(int id) |
sampSendSpawn() |
sampSendDamageVehicle(Vehicle car, int panel, int doors, int lights, int tires) |
bool result = sampRegisterChatCommand(zstring cmd, function func) |
zstring name = sampGetPlayerNickname(int id) |
uint color = sampGetPlayerColor(int id) |
sampConnectToServer(zstring ip, uint port) |
zstring ip, uint port = sampGetCurrentServerAddress() |
zstring name = sampGetCurrentServerName() |
sampShowDialog(int id, zstring caption, zstring text, zstring button1, zstring button2, int style) |
bool result, int button, int list, zstring input = sampHasDialogRespond(int id) |
Bitstream bs = raknetNewBitStream() |
raknetDeleteBitStream(Bitstream bs) |
raknetResetBitStream(Bitstream bs) |
raknetBitStreamWriteBool(Bitstream bs, bool value) |
raknetBitStreamWriteInt8(Bitstream bs, int value) |
raknetBitStreamWriteInt16(Bitstream bs, int value) |
raknetBitStreamWriteInt32(Bitstream bs, int value) |
raknetBitStreamWriteFloat(Bitstream bs, float value) |
raknetBitStreamWriteBuffer(Bitstream bs, uint dest, uint size) |
raknetBitStreamWriteBitStream(Bitstream bs, Bitstream bitStream) |
raknetBitStreamWriteString(Bitstream bs, string str) |
raknetSendRpcEx(int rpc, Bitstream bs, int priority, int reliability, int channel, bool timestamp) |
raknetSendBitStreamEx(Bitstream bs, int priority, int reliability, int channel) |
int textlabel = sampCreate3dText(zstring text, uint color, float posX, float posY, float posZ, float distance, bool ignoreWalls, int playerId, int vehicleId) |
sampDestroy3dText(int textlabel) |
bool result = sampIs3dTextDefined(int 3dText) |
sampCloseCurrentDialogWithButton(int button) |
int list = sampGetCurrentDialogListItem() |
sampSetCurrentDialogListItem(int list) |
zstring text = sampGetCurrentDialogEditboxText() |
sampSetCurrentDialogEditboxText(zstring text) |
bool result = sampIsDialogActive() |
int type = sampGetCurrentDialogType() |
int id = sampGetCurrentDialogId() |
int gamestate = sampGetGamestate() |
Object object = sampGetObjectHandleBySampId(int id) |
Pickup pickup = sampGetPickupHandleBySampId(int id) |
int objectId = sampGetObjectSampIdByHandle(Object object) |
int pickupId = sampGetPickupSampIdByHandle(Pickup pickup) |
int count = sampGetListboxItemsCount() |
int animid = sampGetPlayerAnimationId(int playerId) |
zstring file, zstring name = sampGetAnimationNameAndFile(int animid) |
int id = sampFindAnimationIdByNameAndFile(zstring name, zstring file) |
int resX, int resY = getScreenResolution() |
zstring text = sampGetListboxItemText(int item) |
bool result = sampIsPlayerPaused(int id) |
sampToggleCursor(bool show) |
bool result = sampIsLocalPlayerSpawned() |
int action = sampGetPlayerSpecialAction(int id) |
bool result = sampUnregisterChatCommand(zstring cmd) |
bool result = sampIsPlayerNpc(int id) |
int score = sampGetPlayerScore(int id) |
sampSetChatString(int id, zstring text, zstring prefix, uint color, uint pcolor) |
zstring text, zstring prefix, uint color, uint pcolor = sampGetChatString(int id) |
sampSetChatInputText(zstring text) |
zstring text = sampGetChatInputText() |
sampfuncsLog(zstring msg) |
sampSetChatInputEnabled(bool enabled) |
uint rakclientPtr = sampGetRakclientInterface() |
uint rakpeer = sampGetRakpeer() |
uint address = sampGetRakclientFuncAddressByIndex(int index) |
uint callbackAddress = sampGetRpcCallbackByRpcId(int index) |
uint node = sampGetRpcNodeByRpcId(int index) |
uint sampPtr = sampGetSampInfoPtr() |
DxutDialog dialog = dxutCreateDialog(zstring name) |
bool result, int event, int id = dxutPopEvent(DxutDialog dialog) |
dxutAddButton(DxutDialog dialog, int id, zstring text, int posX, int posY, int sizeX, int sizeY) |
dxutAddCheckbox(DxutDialog dialog, int id, zstring text, int posX, int posY, int sizeX, int sizeY) |
dxutSetDialogPos(DxutDialog dialog, int posX, int posY, int sizeX, int sizeY) |
int posX, int posY, int sizeX, int sizeY = dxutGetDialogPosAndSize(DxutDialog dialog) |
dxutSetDialogVisible(DxutDialog dialog, bool visible) |
bool result = dxutIsDialogVisible(DxutDialog dialog) |
dxutAddEditbox(DxutDialog dialog, int id, zstring text, int posX, int posY, int sizeX, int sizeY) |
zstring text = dxutGetControlText(DxutDialog dialog, int id) |
raknetSendRpc(int rpc, Bitstream bs) |
raknetSendBitStream(Bitstream bs) |
bool result = sampIsCursorActive() |
sampSetCursorMode(int mode) |
int mode = sampGetCursorMode() |
dxutSetControlVisible(DxutDialog dialog, int id, bool visible) |
dxutAddStatic(DxutDialog dialog, int id, zstring text, int posX, int posY, int sizeX, int sizeY) |
bool result = dxutIsCheckboxChecked(DxutDialog dialog, int id) |
dxutSetDialogBackgroundColor(DxutDialog dialog, uint color) |
dxutSetControlText(DxutDialog dialog, int id, zstring text) |
bool result = dxutControlIsVisible(DxutDialog dialog, int id) |
dxutAddSlider(DxutDialog dialog, int id, int posX, int posY, int sizeX, int sizeY, int max) |
int value = dxutGetSliderValue(DxutDialog dialog, int id) |
dxutSetSliderValue(DxutDialog dialog, int id, int value) |
dxutAddListbox(DxutDialog dialog, int id, int posX, int posY, int sizeX, int sizeY) |
dxutListboxInsertItem(DxutDialog dialog, int id, zstring element, uint data, int after) |
int element, int count = dxutGetListboxSelectedItemAndCount(DxutDialog dialog, int id) |
dxutListboxDeleteItem(DxutDialog dialog, int id, int element) |
zstring text, uint data = dxutGetListboxItemTextAndData(DxutDialog dialog, int id, int element) |
dxutCheckboxSetChecked(DxutDialog dialog, int id, bool checked) |
dxutEnableDialogCaption(DxutDialog dialog, bool enable) |
bool result = dxutIsDialogCaptionEnabled(DxutDialog dialog) |
dxutSetDialogMinimized(DxutDialog dialog, bool minimized) |
bool result = dxutIsDialogMinimized(DxutDialog dialog) |
dxutDeleteControl(DxutDialog dialog, int id) |
dxutDeleteDialog(DxutDialog dialog) |
dxutSetFocusOnControl(DxutDialog dialog, int id) |
dxutSetControlSize(DxutDialog dialog, int id, int sizeX, int sizeY) |
int sizeX, int sizeY = dxutGetControlSize(DxutDialog dialog, int id) |
dxutSetControlPos(DxutDialog dialog, int id, int posX, int posY) |
int posX, int posY = dxutGetControlPos(DxutDialog dialog, int id) |
dxutSetCheckboxColor(DxutDialog dialog, int id, uint color) |
bool result = dxutIsDialogExists(DxutDialog dialog) |
uint settingsPtr = sampGetServerSettingsPtr() |
uint poolsPtr = sampGetSampPoolsPtr() |
uint chatPtr = sampGetChatInfoPtr() |
uint inputPtr = sampGetInputInfoPtr() |
uint dialogPtr = sampGetDialogInfoPtr() |
uint kill = sampGetKillInfoPtr() |
uint miscPtr = sampGetMiscInfoPtr() |
uint tdpoolPtr = sampGetTextdrawPoolPtr() |
int objpoolPtr = sampGetObjectPoolPtr() |
uint gzpoolPtr = sampGetGangzonePoolPtr() |
uint tlabelpoolPtr = sampGetTextlabelPoolPtr() |
uint playerpoolPtr = sampGetPlayerPoolPtr() |
uint vehpoolPtr = sampGetVehiclePoolPtr() |
uint pickuppoolPtr = sampGetPickupPoolPtr() |
sampStorePlayerOnfootData(int id, uint dstBuffer) |
sampStorePlayerIncarData(int id, uint dstBuffer) |
sampStorePlayerPassengerData(int id, uint dstBuffer) |
sampStorePlayerTrailerData(int id, uint dstBuffer) |
sampStorePlayerAimData(int id, uint dstBuffer) |
sampSendRconCommand(zstring cmd) |
sampSendOnfootData(uint dataPtr) |
sampSendIncarData(uint dataPtr) |
sampSendPassengerData(uint dataPtr) |
sampSendAimData(uint dataPtr) |
sampSendBulletData(uint dataPtr) |
sampSendTrailerData(uint dataPtr) |
sampSendUnoccupiedData(uint dataPtr) |
sampSendSpectatorData(uint dataPtr) |
sampSendClickPlayer(int id, int source) |
sampSendDialogResponse(int id, int button, int listitem, zstring input) |
sampSendClickTextdraw(int id) |
sampSendGiveDamage(int id, float damage, int weapon, int bodypart) |
sampSendTakeDamage(int id, float damage, int weapon, int bodypart) |
sampSendEditObject(bool playerObject, int objectId, int response, float posX, float posY, float posZ, float rotX, float rotY, float rotZ) |
sampSendEditAttachedObject(int response, int index, int model, int bone, float offsetX, float offsetY, float offsetZ, float rotX, float rotY, float rotZ, float scaleX, float scaleY, float scaleZ) |
sampSendInteriorChange(int id) |
sampSendRequestSpawn() |
sampSendPickedUpPickup(int id) |
sampSendMenuSelectRow(int id) |
sampSendMenuQuit() |
sampSendVehicleDestroyed(int id) |
bool result = sampIsScoreboardOpen() |
sampToggleScoreboard(bool show) |
zstring text = sampGetDialogText() |
zstring caption = sampGetDialogCaption() |
sampSetDialogClientside(bool clientside) |
bool result = sampIsDialogClientside() |
bool result = sampIsChatVisible() |
int mode = sampGetChatDisplayMode() |
sampSetChatDisplayMode(int mode) |
pauseScmThread(uint thread) |
resumeScmThread(uint thread) |
bool value = raknetBitStreamReadBool(Bitstream bs) |
int value = raknetBitStreamReadInt8(Bitstream bs) |
int value = raknetBitStreamReadInt16(Bitstream bs) |
int value = raknetBitStreamReadInt32(Bitstream bs) |
float value = raknetBitStreamReadFloat(Bitstream bs) |
raknetBitStreamReadBuffer(Bitstream bs, uint dest, uint size) |
string value = raknetBitStreamReadString(Bitstream bs, uint size) |
raknetBitStreamResetReadPointer(Bitstream bs) |
raknetBitStreamResetWritePointer(Bitstream bs) |
raknetBitStreamIgnoreBits(Bitstream bs, int amount) |
raknetBitStreamSetWriteOffset(Bitstream bs, int offset) |
raknetBitStreamSetReadOffset(Bitstream bs, int offset) |
uint value = raknetBitStreamGetNumberOfBitsUsed(Bitstream bs) |
uint value = raknetBitStreamGetNumberOfBytesUsed(Bitstream bs) |
uint value = raknetBitStreamGetNumberOfUnreadBits(Bitstream bs) |
int value = raknetBitStreamGetWriteOffset(Bitstream bs) |
int value = raknetBitStreamGetReadOffset(Bitstream bs) |
uint value = raknetBitStreamGetDataPtr(Bitstream bs) |
zstring string = raknetBitStreamDecodeString(Bitstream bs, int size) |
raknetBitStreamEncodeString(Bitstream bs, zstring string) |
raknetEmulRpcReceiveBitStream(int rpc, Bitstream bs) |
raknetEmulPacketReceiveBitStream(int packet, Bitstream bs) |
zstring name = raknetGetRpcName(int rpc) |
zstring name = raknetGetPacketName(int packet) |
bool result = setSampfuncsGlobalVar(zstring var, int value) |
bool result, int value = getSampfuncsGlobalVar(zstring var) |
sampCreate3dTextEx(int id, zstring text, uint color, float posX, float posY, float posZ, float distance, bool ignoreWalls, int playerId, int vehicleId) |
zstring string, uint color, float posX, float posY, float posZ, float distance, bool ignoreWalls, int playerId, int vehicleId = sampGet3dTextInfoById(int id) |
sampSet3dTextString(int id, zstring text) |
sampTextdrawCreate(int id, zstring text, float posX, float posY) |
sampTextdrawSetBoxColorAndSize(int id, int box, uint color, float sizeX, float sizeY) |
sampTextdrawSetAlign(int id, int align) |
sampTextdrawSetProportional(int id, int proportional) |
sampTextdrawSetStyle(int id, int style) |
sampTextdrawSetShadow(int id, int shadow, uint color) |
sampTextdrawSetOutlineColor(int id, int outline, uint color) |
sampTextdrawSetModelRotationZoomVehColor(int id, int model, float rotX, float rotY, float rotZ, float zoom, int clr1, int clr2) |
sampTextdrawSetString(int id, zstring text) |
sampTextdrawSetPos(int id, float posX, float posY) |
sampTextdrawSetLetterSizeAndColor(int id, float letSizeX, float letSizeY, uint color) |
int box, uint color, float sizeX, float sizeY = sampTextdrawGetBoxEnabledColorAndSize(int id) |
int align = sampTextdrawGetAlign(int id) |
int prop = sampTextdrawGetProportional(int id) |
int style = sampTextdrawGetStyle(int id) |
int shadow, uint color = sampTextdrawGetShadowColor(int id) |
int outline, uint color = sampTextdrawGetOutlineColor(int id) |
int model, float rotX, float rotY, float rotZ, float zoom, int clr1, int clr2 = sampTextdrawGetModelRotationZoomVehColor(int id) |
zstring text = sampTextdrawGetString(int id) |
float posX, float posY = sampTextdrawGetPos(int id) |
float letSizeX, float letSizeY, uint color = sampTextdrawGetLetterSizeAndColor(int id) |
bool result = sampTextdrawIsExists(int id) |
sampTextdrawDelete(int id) |
bool result = isSampfuncsGlobalVarDefined(zstring var) |
bool read, bool write = getSampfuncsGlobalVarAccessForThread(zstring var, uint thread) |
runSampfuncsConsoleCommand(zstring cmd) |
bool result = sampfuncsRegisterConsoleCommand(zstring cmd, function func) |
bool result = sampfuncsUnregisterConsoleCommand(zstring cmd) |
uint thread = createScmThreadAtPointer(uint pointer, table args) |
setScmThreadLocalVar(uint thread, int var, any value) |
int value = getScmThreadLocalVar(uint thread, int var) |
destroyScmThread(uint thread) |
restartScmThread(uint thread, table args) |
bool result = isSampfuncsConsoleActive() |
sampSetClientCommandDescription(zstring cmd, zstring text) |
setSampfuncsConsoleCommandDescription(zstring cmd, zstring text) |
sampForceVehicleSync(int id) |
sampForceUnoccupiedSyncSeatId(int id, int seatId) |
sampForceOnfootSync() |
sampForceAimSync() |
sampForceTrailerSync(int id) |
sampForcePassengerSyncSeatId(int id, int seatId) |
sampForceStatsSync() |
sampForceWeaponsSync() |
int id = sampGetMaxPlayerId(bool streamed) |
int count = sampGetPlayerCount(bool streamed) |
sampProcessChatInput(zstring text) |
bool result = sampIsChatCommandDefined(zstring cmd) |
bool result = isSampfuncsConsoleCommandDefined(zstring cmd) |
int version = getCleoLibraryVersion() |
main() |
onExitScript(bool quitGame) |
onQuitGame() |
onScriptLoad(LuaScript s) |
onScriptTerminate(LuaScript s, bool quitGame) |
onSystemInitialized() |
onScriptMessage(string msg, LuaScript s) |
onSystemMessage(string msg, int type, LuaScript s) |
bool process=true, int id, bitstream bitStream = onReceivePacket(int id, bitstream bitStream) |
bool process=true, int id, bitstream bitStream = onReceiveRpc(int id, bitstream bitStream) |
bool process=true, int id, bitstream bitStream, int priority, int reliability, int orderingChannel = onSendPacket(int id, bitstream bitStream, int priority, int reliability, int orderingChannel) |
bool process=true, int id, bitstream bitStream, int priority, int reliability, int orderingChannel, bool shiftTs = onSendRpc(int id, bitstream bitStream, int priority, int reliability, int orderingChannel, bool shiftTs) |
onWindowMessage(uint msg, uint wparam, int lparam) |
onStartNewGame(int mpack) |
onLoadGame(table saveData) |
table newSaveData = onSaveGame(table saveData) |
Ped PLAYER_PED |
Player PLAYER_HANDLE |
Ped playerPed |
Player playerHandle |