View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0006455||Multi Theft Auto : San Andreas||Server||public||2011-08-30 20:38||2018-07-22 17:49|
|Target Version||1.5.6||Fixed in Version||1.5.6|
|Summary||0006455: Bug with visible distance in createBlipAttachedTo|
I had a problem with the visible distance in createBlipAttachedTo, assigned to a player. I had to use setVisibleDistance to a blip to fix it.
blip1=createBlipAttachedTo ( jugador, 0, 3, r, g, b, 255, 0, 99999.0, source ) --> the distance isn't 99999.0, maybe 250 or 500
blip1=createBlipAttachedTo ( jugador, 0, 3, r, g, b, 255, 0, 99999.0, source )
|Tags||No tags attached.|
i think it's stream distance
visibleDistance: The maximum distance from the camera at which the blip is still visible (0 - 65535)
If the value specified is greater than 65535 it should reduce it to 65535 I suppose as I'm guessing the cause of this problem is integer overflow.
PR created at https://github.com/multitheftauto/mtasa-blue/pull/232