10.04.2016, 17:04
Из-за чего может не вызываться OnPlayerDeath? Вызывается только хукнутый, а обычный не хочет.
^ выводит только death1 во время смерти.
Код:
public OnPlayerDeath(playerid, killerid, reason) { SendClientMessageToAll(-1, "death"); return 1; } Hook:patch_OnPlayerDeath(playerid, killerid, reason) { SendClientMessageToAll(-1, "death1"); }