Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. #include <weapon-config> before any other script
- 2. Replace OnPlayerGiveDamage and OnPlayerTakeDamage with just one callback:
- public OnPlayerDamage(&playerid, &Float:amount, &issuerid, &weapon, &bodypart)
- 3. Add config functions in OnGameModeInit (or any other places, they can be called at any time). Recommended:
- public OnGameModeInit() {
- SetVehiclePassengerDamage(true);
- SetDisableSyncBugs(true);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement