native cs_set_user_zoom(index, type, mode);
index | Client index |
type | Zoom type |
mode | If zero (blocking) the client will be forced to use the zoom type set and won't be able to change it until it is reset with CS_RESET_ZOOM, otherwise the user can restore back to normal as usual |
Sets a zoom type on the client.
Zoom types are not tied to their intended weapons, so any zoom type can be combined with any weapon.
For a list of possible zoom types see the zoom type enum above (CS_*_ZOOM constants).
This function has no return value.
If the client index is not within the range of 1 to MaxClients, the client is not connected, or an invalid zoom type is provided, an error will be thrown.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.