Experimental ghost fx.

This commit is contained in:
JezuzLizard
2023-12-26 16:00:53 -08:00
parent c8972ced8b
commit d739ade896
5 changed files with 186 additions and 2 deletions

View File

@ -45,9 +45,11 @@ set_player_model_override( team, weapon )
if ( isDefined( possible_models ) && possible_models.size > 0 )
{
model = random( possible_models );
random_alias = random( getArrayKeys( possible_models ) );
model = possible_models[ random_alias ];
self setModel( model[ "body_model" ] );
self setViewModel( model[ "view_model" ] );
self notify( "player_model_set", team, random_alias, model );
}
else
{