SA-MP 0.3z RC SA-MP 0.3z is mainly a security update that we hope to push to release quickly. There are a few new features and there should be time to address some existing 0.3 bugs during the RC.
Updated shooting sync for bullet weapons
Shots fired by players are now lag compensated, meaning you can aim at the skin instead of lead aiming.
The server can now get access to the full bullet information to tell if it hit a player, vehicle or object.
#define BULLET_HIT_TYPE_NONE 0
#define BULLET_HIT_TYPE_PLAYER 1
#define BULLET_HIT_TYPE_VEHICLE 2
#define BULLET_HIT_TYPE_OBJECT 3
#define BULLET_HIT_TYPE_PLAYER_OBJECT 4
forward OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ);
The give/take damage callbacks now contain the body part hit ID. If your script uses these callbacks, you will need to update the definition in your script.
forward OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart);
forward OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid, bodypart);
Other stuff
- A network level setting for server.cfg \'messageholelimit\' has been added to deal with DoS attacks.
- The Rivershell gamemode has been updated to version 2.
Updates:SA-MP 0.3z RC2 Client/Server update
- Removes autoaim ability from the joypad controls
- Adds BULLET_HIT_TYPE_PLAYER_OBJECT 4
- Fixes gunshell/smoke particle offset problem
Downloads:0.3z RC2 Client
SA-MP 0.3z RC2 Client Installer0.3z RC2 Server
SA-MP 0.3z RC2 Windows ServerSA-MP 0.3z RC2 Linux Server0.3z RC1 Client
SA-MP 0.3z RC1 Client Installer0.3z RC1 Server
SA-MP 0.3z RC1 Windows ServerSA-MP 0.3z RC1 Linux Server[/quote]