20.01.2019, 21:01
(
Last edited by dotSILENT; 02/05/2020 at 11:52 AM.
)
CHandling client & server plugin
CHandling is a client & server sided plugin which allows the server to have control over vehicle handlings. In addition, it modifies the default behaviour of GTA, allowing customized handlings between vehicles of the same model.This means that you can have 10 Banshees while having each of them drive differently.
The client side is forced to use default handling values when connected to a CHandling-ready server.
Normal players can still play on the server, the plugin just wont have any effect on them.
Client sided plugin has a very simple update checker which can take the players to the download page of the latest release.
This is a test release, not everything is working as it should and some things may require a re-write.
I don't advice to introduce this to your players yet.
CURRENTLY SUPPORTS ONLY CARS! Boats, airplanes or bikes might not work properly, since they are handled differently in the game.
Supported versions
The plugin uses a .ini file for detecting the current version & loading proper memory offsets, the file is fetched from GitHub via libcurl when it doesn't exist, or when there is no matching version in the current file.
That means, that theorethically (unless some significant changes are made to SAMP), players wont need to download anything.
Currently supported versions (client): 0.3.7, 0.3.7 R2, 0.3.7 R3, 0.3.7 R3-1, 0.3.7 R4, 0.3DL R1
Download
Client side requires ASI Loader
Server side
Source code (client side)
Source code (server side)
WIKI (List of natives, descriptions etc)
Example filterscript which may also help testing/trying out
Thanks to
- Zeex for sampGDK and SubHook
- DK22Pac for his GTA plugin-sdk that I took some structs from
- kurta999 for his AMX Native Redirect (taken from YSF)
- Whitetiger for GetPacketId hook (taken from SAMPACv2)
- ini for helping with various problems that occured along the way