View Issue Details

IDProjectCategoryView StatusLast Update
0006455Multi Theft Auto : San AndreasServerpublic2018-07-22 17:49
ReporterJ_BAssigned Tomyonlake 
PrioritynormalSeveritytrivialReproducibilityalways
Status resolvedResolutionfixed 
PlatformServerOSWindowsOS VersionXP
Product Version1.1 
Target Version1.5.6Fixed in Version1.5.6 
Summary0006455: Bug with visible distance in createBlipAttachedTo
Description

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.
Example used:

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 )
setBlipVisibleDistance (blip1, 9999999.0) --> Fixs the problem

TagsNo tags attached.

Activities

MX_Master

2011-08-31 21:00

viewer   ~~0014594

Last edited: 2011-08-31 21:00

the distance isn't 99999.0, maybe 250 or 500

i think it's stream distance

arranTuna

2011-09-08 18:43

manager   ~~0014747

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.

myonlake

2018-07-08 22:44

updater   ~~0026676

PR created at https://github.com/multitheftauto/mtasa-blue/pull/232

Issue History

Date Modified Username Field Change