native entity_set_model(iIndex, const szModel[]);
iIndex | Entity index |
szModel | Model to set |
Sets the model of an entity.
This native uses an engine function to set the model, keeping it properly updated with the game. Simply writing to EV_SZ_model is an error and will cause problems.
This function has no return value.
If an invalid entity index is provided, an error will be thrown.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.