View Issue Details

IDProjectCategoryView StatusLast Update
0007477Multi Theft Auto : San AndreasClientpublic2013-02-03 11:42
ReporterDevan_LTAssigned Toccw 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target Version1.3.2Fixed in Version1.3.2 
Summary0007477: processLineOfSight doesn't return world object info without ignoredElement being set
Description

If you want the function to return the world object info, you have to provide an element as ignoredElement argument. If you set it to nil, the object ID won't be returned.

Steps To Reproduce

local hit,hitx,hity,hitz,hitelement,nx,ny,nz,material,light,part,objid = processLineOfSight(0,0,1000,0,0,-100,true,false,false,true,true,true,false,true,localPlayer,true)

If you call this while being in the center of the map, objid will contain the object ID.

local hit,hitx,hity,hitz,hitelement,nx,ny,nz,material,light,part,objid = processLineOfSight(0,0,1000,0,0,-100,true,false,false,true,true,true,false,true,nil,true)

If you call this, objid will be nil.

TagsNo tags attached.

Issue History

Date Modified Username Field Change