- Documentation
- Client functions
- getElementPreviewState
Function
getElementPreviewState
Returns the preview state ("czeka" waiting, "gotowy" ready, "czeka na cel" waiting for the target, "blad: ..." error) and the number of shots taken.
Syntax
string, int getElementPreviewState(preview preview)Arguments
previewpreview- The preview.
Returns
The state and the number of shots.
Example
local state, shots = getElementPreviewState(preview)