Signature
native attach_view(iIndex, iTargetIndex);
Description
Attaches a clients viewport to an entity.
Notes
-
To reset the clients viewport, call this function with the client index
as the target entity.
Parameters
- iIndex — Client index
- iTargetIndex — Index of entity to attach to
Errors
-
If the client index is not within the range of 1 to
MaxClients, or the client is not connected, an error
will be thrown.