cs_set_player_weap_model
Sets a custom weapon model for a specific weapon for a player. Note: if you pass an empty string, model will be hidden.
Syntax
native cs_set_player_weap_model(id, weaponid, const weapon_model[]) /** * Restores a custom weapon model for a specific weapon for a player. * * @param id Player index. * @param weaponid Weapon to restore model for. (in CSW_ format) */ native cs_reset_player_weap_model(id, weaponid)
Usage
| id | Player index. |
| weaponid | Weapon to replace model for. (in CSW_ format) |
| weapon_model | — |
Defined in
cs_weap_models_api.inc
at line 43
.
This documentation was automatically generated from source.