View Issue Details

IDProjectCategoryView StatusLast Update
0007991Multi Theft Auto : San AndreasClientpublic2014-02-04 23:29
ReporterIIYAMA12Assigned Toccw 
PrioritynormalSeveritytweakReproducibilityalways
Status resolvedResolutionfixed 
PlatformOSWindows 7OS Version
Product Version1.3.3 
Target Version1.3.5Fixed in Version1.3.5 
Summary0007991: isElementInWater returns always false with peds
Description

actually: v1.3.4

Not sure if this is already reported.

isElementInWater for peds doesn't work correctly.
https://wiki.multitheftauto.com/wiki/IsElementInWater

See runcode sample:

Additional Information

/start runcode

--(go in to the water)

srun player = getPlayerFromName("NAME")
srun x,y,z = getElementPosition(player)
srun ped = createPed(61,x,y,z)

-- test
srun outputChatBox(tostring(isElementInWater(player)))-- true
srun outputChatBox(tostring(isElementInWater(ped)))-- false

-- test again
srun setElementPosition(ped,x,y,z-20)
srun outputChatBox(tostring(isElementInWater(ped)))-- false

TagsNo tags attached.

Relationships

related to 0008018 resolvedccw Source patches Patch for issue 7991 ( isElementInWater returns always false with peds ) 

Activities

Dutchman101

2014-01-30 10:39

updater   ~~0020102

Fixed in https://code.google.com/p/mtasa-blue/source/detail?r=6105

IIYAMA12

2014-02-04 23:29

viewer   ~~0020162

Thank you all!!!

Issue History

Date Modified Username Field Change