View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001722||Multi Theft Auto : San Andreas||Scripting||public||2006-12-11 01:01||2006-12-11 08:51|
|Target Version||Fixed in Version||mtasadm_v1.0-dp1|
|Summary||0001722: isElementWithinColShape and getElementsWithinColShape don't recognize vehicles|
isElementWithinColShape returns false when you pass a colshape and a vehicle that is inside it to it. It returns true if you pass a player that is in it.
getElementsWithinColShape returns a table of players within it, but not the vehicles.
To test this, load up garage.map, create a vehicle, drive it into the garage, and get out.
In the debug box it should tell you whether or not you and the vehicle are in the colshape, and list the element types it finds within the colshape. It will say that you are in the colshape and that the vehicle is not, and list a player element type but not a vehicle element type.
|Tags||No tags attached.|