View Issue Details

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

actually: v1.3.4

Not sure if this is already reported.

isElementInWater for peds doesn't work correctly.

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.


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



2014-01-30 10:39

updater   ~~0020102

Fixed in


2014-02-04 23:29

viewer   ~~0020162

Thank you all!!!

Issue History

Date Modified Username Field Change