From 46554c941766ba3cdb25c91ebecd3a69da8ce85b Mon Sep 17 00:00:00 2001 From: Lorenc Pekaj Date: Sun, 17 Feb 2019 10:28:58 +1100 Subject: [PATCH] hide fires on spawn --- gamemodes/irresistible/cnr/features/fires.pwn | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/gamemodes/irresistible/cnr/features/fires.pwn b/gamemodes/irresistible/cnr/features/fires.pwn index 1118822..4ebc0dc 100644 --- a/gamemodes/irresistible/cnr/features/fires.pwn +++ b/gamemodes/irresistible/cnr/features/fires.pwn @@ -37,11 +37,7 @@ hook OnPlayerDisconnect( playerid, reason ) return 1; } -#if defined AC_INCLUDED -hook OnPlayerDeathEx( playerid, killerid, reason, Float: damage, bodypart ) -#else -hook OnPlayerDeath( playerid, killerid, reason ) -#endif +hook OnPlayerSpawn( playerid ) { StopPlayerFireTracker( playerid ); return 1;