From 108fc055a6525eb18be1afff66e488bd11faf26e Mon Sep 17 00:00:00 2001 From: Steven Howard Date: Mon, 8 Oct 2018 20:53:05 +0100 Subject: [PATCH] adds /smoke into animations --- gamemodes/irresistible/cnr/features/animations.pwn | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gamemodes/irresistible/cnr/features/animations.pwn b/gamemodes/irresistible/cnr/features/animations.pwn index 803c045..0140153 100644 --- a/gamemodes/irresistible/cnr/features/animations.pwn +++ b/gamemodes/irresistible/cnr/features/animations.pwn @@ -89,6 +89,7 @@ hook OnPlayerFirstSpawn( playerid ) PreloadAnimationLibrary( playerid, "INT_HOUSE" ); PreloadAnimationLibrary( playerid, "MISC" ); PreloadAnimationLibrary( playerid, "POOL" ); + PreloadAnimationLibrary( playerid, "SMOKING" ); return 1; } @@ -275,6 +276,12 @@ CMD:handsup( playerid, params[ ] ) return 1; } +CMD:smoke( playerid, params[ ] ) +{ + CreateLoopingAnimation( playerid, "SMOKING", "M_smk_in", 4.0, 1, 0, 0, 0, 0 ); + return 1; +} + CMD:cower( playerid, params[ ] ) { CreateLoopingAnimation( playerid, "PED", "COWER", 4.0, 1, 0, 0, 0, 0 );