Vice City: Multiplayer

VC:MP Discussion => Bugs and Crashes => Support => Closed Bug Reports => Topic started by: umar4911 on Jun 13, 2018, 07:13 AM

Title: [Bug] Client Side label size
Post by: umar4911 on Jun 13, 2018, 07:13 AM
Description
When coding in client side, we add a label.
local sX = GetGUISize().X;
Scoreboard.Label = GUILabel(........ (sX/2 + 150)....);

If we are using a smaller screen for testing and working perfectly ( near the end if one side of screen) but when we increase the size (even after reconnect) it comes to away from the side.

Reproducible
Always

What you were doing when the bug happened
Nothing, just using cmds.

What you think caused the bug
Dont know

Title: Re: [Bug] Client Side label size
Post by: umar4911 on Jun 15, 2018, 07:17 AM
Bump*
Title: Re: [Bug] Client Side label size
Post by: kennedyarz on Jun 15, 2018, 12:56 PM
see this mode https://pastebin.com/GBzkW4Pr
Title: Re: [Bug] Client Side label size
Post by: umar4911 on Jun 16, 2018, 10:10 AM
Quote from: kennedyarz on Jun 15, 2018, 12:56 PMsee this mode https://pastebin.com/GBzkW4Pr
Well, this is a sprite.
Btw the vector is same just you multiplied he vector and me did addition. Does it have any change?
Title: Re: [Bug] Client Side label size
Post by: umar4911 on Jun 19, 2018, 07:52 AM
Solved.