Приветствую. Решил установить weapon config, и почему то дамаг проходит только от падения. Бей, не бей а толку нет.
Следовал инструкции из темы с самим скриптом
How to use
#include <weapon-config> before any other script
Replace OnPlayerGiveDamage and OnPlayerTakeDamage with just one callback:
public OnPlayerDamage(&playerid, &Float:amount, &issuerid, &weapon, &bodypart)
Add config functions in OnGameModeInit (or any other places, they can be called at any time). Recommended:
public OnGameModeInit() {
SetVehiclePassengerDamage(true);
SetDisableSyncBugs(true);
}
Поставил плагин SKY еще и все.
- - - Добавлено - - -
OnPlayerDamage не вызывается при ударах