vb.net - ScriptHookV .NET "IsInBuilding" Property? -


i dont know if right section or website ask this, problem how can check if player inside building scripthookv .net (gta v .net modloader) , visual basic.

i tried functions , properties under namespace gta, didn't find relevant buildings.

any appreciated, thanks!

i found answer gtaforums.

answer c#:

if (gta.native.function.call<bool>(gta.native.hash.is_interior_scene)) {     'player inside building } 

and answer vb .net:

if (gta.native.function.call(of boolean)(gta.native.hash.is_interior_scene))      'player inside building end if 

Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -