Skip to content

Instantly share code, notes, and snippets.

--- PATCH NOTES ---
- Fixed a crash related to the game booting up
- Fixed a crash related to the game shutting down
- Fixed a crash related to armor components
- Fixed a crash related to late joining
- Fixed a crash that sometimes happened for clients - if the host shut down the game while the client was joining
- Fixed a crash that sometimes happened for clients trying to join as the game was transitioning (from mission to space rig - end screen to space rig)
- Attempt to fix a crash related to enemies dying from goo
- Attempt to fix a rare crash related to weapons when joining a mission
- Attempt to fix a rare crash in music manager
#!/usr/bin/env python3
from gi.repository import Playerctl, GLib
import re
live_music = re.compile(".*\slive\s.*", re.IGNORECASE)
last_played = ""
player = Playerctl.Player()
// bAntiCheat_Client.Anticheat
using bAntiCheat_Client;
using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Dynamic;
using System.IO;
using System.Security.Cryptography;
using System.Text;
echo Executing Server Config...
lanmode 0
rcon_password bitch
plugins sampac.so
maxplayers 50
port 7777
hostname SA-MP 0.3 Server
gamemode0 grandlarc 1
filterscripts
announce 0
#include <a_samp>
#include <zcmd>
#include <sampac>
public OnFilterScriptInit()
{
printf("IsUsingACPlugin: %d", IsACPluginLoaded());
}
public OnPlayerConnect(playerid)
#include <a_samp>
#if !defined GetGravity
native Float:GetGravity();
#endif
native plugin_gateway_param0(func[]) = GetGravity;
#define IsPluginLoaded() ((_:GetGravity()) != plugin_gateway_param0("IsPluginLoaded"))
Improves:
Autooptions on start
Faster launching
Standard game settings set correct and to maximum
Changing parameter settings Antialiasing is immediate
;NSIS Modern User Interface
;Basic Example Script
;Written by Joost Verburg
;--------------------------------
;Include Modern UI
!include "MUI2.nsh"
!include 'nsdialogs.nsh'
;NSIS Modern User Interface
;Basic Example Script
;Written by Joost Verburg
;--------------------------------
;Include Modern UI
!include "MUI2.nsh"
!include 'nsdialogs.nsh'
;--------------------------------
; Script Definitions
!define APP_NAME "SA-MP Anti-Cheat Client Installer"
!define OUT_DIR "Output"
!define TEMP_INI "$PLUGINSDIR\download.ini"
!define DOWN_INI "$EXEDIR\download.ini"
!define DOWN_LNK "http://whitetigerswt.github.io/SAMP_AC_v2/Releases/sampac-client.exe"
!define HEAD_GET "$PLUGINSDIR\head.txt"
!define FILE_GET "$EXEDIR\sampac-$date2file.exe"