23 lines
337 B
Markdown
23 lines
337 B
Markdown
# MercanRey1.js — isFlying() (satır 384)
|
||
|
||
[← MercanRey1.js](index.md) · [← Master](../../wiki.md)
|
||
|
||
```javascript
|
||
function isFlying(entity)
|
||
{
|
||
if (!entity.isPlayer())
|
||
{
|
||
return false;
|
||
}
|
||
|
||
try
|
||
{
|
||
return entity.isFlying();
|
||
}
|
||
catch (e)
|
||
{}
|
||
|
||
return false;
|
||
}
|
||
```
|