Gameplay::getCoordsOfProjectileTypeInArea: Difference between revisions
(Created page with "{{ClientsideJsFunction}} {{JSContainer| Checks if a projectile object of the specified type is in the given area ===Required Params=== *'''minX:''' {{RageType|Float}} *'''minY:''' {{RageType|Float}} *'''minZ:''' {{RageType|Float}} *'''maxX:''' {{RageType|Float}} *'''maxY:''' {{RageType|Float}} *'''maxZ:''' {{RageType|Float}} *'''projectileHash:''' {{RageType|number}} *'''isPlayer:''' {{RageType|boolean}} ===Return value=== *''' {{RageType|number}} ''' ==Syntax== <synta...") |
(fixed return value) |
||
| Line 13: | Line 13: | ||
===Return value=== | ===Return value=== | ||
*''' {{RageType| | *''' {{RageType|Vector3}} ''' | ||
==Syntax== | ==Syntax== | ||
Latest revision as of 15:50, 29 April 2024
Client-Side Function
JavaScript Syntax
Checks if a projectile object of the specified type is in the given area
Required Params
- minX: Float
- minY: Float
- minZ: Float
- maxX: Float
- maxY: Float
- maxZ: Float
- projectileHash: number
- isPlayer: boolean
Return value
- Vector3
Syntax
mp.game.gameplay.getCoordsOfProjectileTypeInArea(minX, minY, minZ, maxX, maxY, maxZ, projectileHash, isPlayer);
Example
//todo