Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (scopeobj._isPlayer){
- float _fPlayerHeight = _screenHeight ;
- float _fPlayerWidth = _screenWidth * 0.20;
- float _fX = _vecScreen.fX ;
- float _fY = _vecScreen.fY;
- float _fYOffset = _fY + (500 / (fDistance));
- float _fHeight = _fPlayerHeight / (fDistance);
- float _fWidth = _fPlayerWidth / (fDistance);
- FillRGB(_fX, _fYOffset, 1, _fHeight, 255, 0, 0, 255);
- FillRGB(_fX + _fWidth, _fYOffset, 1, _fHeight, 255, 0, 0, 255);
- // Vertical
- FillRGB(_fX, _fYOffset, _fWidth, 1, 255, 0, 0, 255);
- FillRGB(_fX, _fYOffset + _fHeight, _fWidth, 1, 255, 0, 0, 255);
- }
- else{
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement