adds /smoke into animations

This commit is contained in:
Steven Howard 2018-10-08 20:53:05 +01:00
parent 5f300a6cd2
commit 108fc055a6

View File

@ -89,6 +89,7 @@ hook OnPlayerFirstSpawn( playerid )
PreloadAnimationLibrary( playerid, "INT_HOUSE" ); PreloadAnimationLibrary( playerid, "INT_HOUSE" );
PreloadAnimationLibrary( playerid, "MISC" ); PreloadAnimationLibrary( playerid, "MISC" );
PreloadAnimationLibrary( playerid, "POOL" ); PreloadAnimationLibrary( playerid, "POOL" );
PreloadAnimationLibrary( playerid, "SMOKING" );
return 1; return 1;
} }
@ -275,6 +276,12 @@ CMD:handsup( playerid, params[ ] )
return 1; 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[ ] ) CMD:cower( playerid, params[ ] )
{ {
CreateLoopingAnimation( playerid, "PED", "COWER", 4.0, 1, 0, 0, 0, 0 ); CreateLoopingAnimation( playerid, "PED", "COWER", 4.0, 1, 0, 0, 0, 0 );