SetEntityModel Function

Sets the model to a given entity.

void SetEntityModel(int entity, const char[] model)

Parameters

int entity

Entity index.

const char[] model

Model name.

Errors

Invalid entity index or lack of mod support.