User contributions for Shr0x
10 May 2024
- 11:1011:10, 10 May 2024 diff hist +517 N GameEntity::getAnimTotalTime Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''entity:''' {{RageType|number}} *'''animDict:''' {{RageType|string}} *'''animName:''' {{RageType|string}} ===Return value=== *''' {{RageType|number}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.entity.getAnimTotalTime(entity, animDict, animName) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Entity_functions_c}} Category:C..." current
- 11:1011:10, 10 May 2024 diff hist +519 N GameEntity::getAnimCurrentTime Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''entity:''' {{RageType|number}} *'''animDict:''' {{RageType|string}} *'''animName:''' {{RageType|string}} ===Return value=== *''' {{RageType|number}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.entity.getAnimCurrentTime(entity, animDict, animName) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Entity_functions_c}} Category..." current
- 11:1011:10, 10 May 2024 diff hist +430 N GameEntity::forceAiAndAnimationUpdate Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''entity:''' {{RageType|number}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.entity.forceAiAndAnimationUpdate(entity) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Entity_functions_c}} Category:Clientside API Category:TODO: Example" current
- 11:1011:10, 10 May 2024 diff hist +438 N GameEntity::getCollisionNormalOfLastHitFor Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''entity:''' {{RageType|number}} ===Return value=== *''' {{RageType|Vector3}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.entity.getCollisionNormalOfLastHitFor(entity) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Entity_functions_c}} Category:Clientside API Category:TODO: Example" current
- 11:1011:10, 10 May 2024 diff hist +427 N GameEntity::getLastMaterialHitBy Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''entity:''' {{RageType|number}} ===Return value=== *''' {{RageType|number}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.entity.getLastMaterialHitBy(entity) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Entity_functions_c}} Category:Clientside API Category:TODO: Example" current
- 11:1011:10, 10 May 2024 diff hist +431 N GameEntity::hasCollidedWithAnything Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''entity:''' {{RageType|number}} ===Return value=== *''' {{RageType|boolean}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.entity.hasCollidedWithAnything(entity) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Entity_functions_c}} Category:Clientside API Category:TODO: Example" current
- 11:1011:10, 10 May 2024 diff hist +481 N GameEntity::hasClearLosToEntityInFront Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''entity1:''' {{RageType|number}} *'''entity2:''' {{RageType|number}} ===Return value=== *''' {{RageType|boolean}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.entity.hasClearLosToEntityInFront(entity1, entity2) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Entity_functions_c}} Category:Clientside API Category:TODO: Exa..." current
- 11:1011:10, 10 May 2024 diff hist +523 N GameEntity::hasClearLosToEntity2 Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''entity1:''' {{RageType|number}} *'''entity2:''' {{RageType|number}} *'''traceType:''' {{RageType|number}} ===Return value=== *''' {{RageType|number}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.entity.hasClearLosToEntity2(entity1, entity2, traceType) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Entity_functions_c}} Cate..." current
- 11:1011:10, 10 May 2024 diff hist +523 N GameEntity::hasClearLosToEntity Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''entity1:''' {{RageType|number}} *'''entity2:''' {{RageType|number}} *'''traceType:''' {{RageType|number}} ===Return value=== *''' {{RageType|boolean}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.entity.hasClearLosToEntity(entity1, entity2, traceType) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Entity_functions_c}} Cate..." current
- 11:0911:09, 10 May 2024 diff hist +434 N GameEntity::hasBeenDamagedByAnyVehicle Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''entity:''' {{RageType|number}} ===Return value=== *''' {{RageType|boolean}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.entity.hasBeenDamagedByAnyVehicle(entity) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Entity_functions_c}} Category:Clientside API Category:TODO: Example" current
- 11:0911:09, 10 May 2024 diff hist +430 N GameEntity::hasBeenDamagedByAnyPed Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''entity:''' {{RageType|number}} ===Return value=== *''' {{RageType|boolean}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.entity.hasBeenDamagedByAnyPed(entity) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Entity_functions_c}} Category:Clientside API Category:TODO: Example" current
- 11:0911:09, 10 May 2024 diff hist +433 N GameEntity::hasBeenDamagedByAnyObject Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''entity:''' {{RageType|number}} ===Return value=== *''' {{RageType|boolean}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.entity.hasBeenDamagedByAnyObject(entity) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Entity_functions_c}} Category:Clientside API Category:TODO: Example" current
- 11:0911:09, 10 May 2024 diff hist +552 N GameEntity::hasAnimFinished Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''entity:''' {{RageType|number}} *'''animDict:''' {{RageType|string}} *'''animName:''' {{RageType|string}} *'''p3:''' {{RageType|number}} ===Return value=== *''' {{RageType|boolean}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.entity.hasAnimFinished(entity, animDict, animName, p3) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also==..." current
- 11:0911:09, 10 May 2024 diff hist +423 N GameEntity::doesHavePhysics Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''entity:''' {{RageType|number}} ===Return value=== *''' {{RageType|boolean}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.entity.doesHavePhysics(entity) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Entity_functions_c}} Category:Clientside API Category:TODO: Example" current
- 11:0911:09, 10 May 2024 diff hist +424 N GameEntity::doesHaveDrawable Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''entity:''' {{RageType|number}} ===Return value=== *''' {{RageType|boolean}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.entity.doesHaveDrawable(entity) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Entity_functions_c}} Category:Clientside API Category:TODO: Example" current
- 11:0811:08, 10 May 2024 diff hist +466 N GameEntity::doesBelongToThisScript Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''entity:''' {{RageType|number}} *'''p1:''' {{RageType|boolean}} ===Return value=== *''' {{RageType|boolean}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.entity.doesBelongToThisScript(entity, p1) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Entity_functions_c}} Category:Clientside API Category:TODO: Example" current
- 11:0811:08, 10 May 2024 diff hist +417 N GameEntity::doesExist Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''entity:''' {{RageType|number}} ===Return value=== *''' {{RageType|boolean}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.entity.doesExist(entity) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Entity_functions_c}} Category:Clientside API Category:TODO: Example" current
9 May 2024
- 21:0221:02, 9 May 2024 diff hist +539 N Player::disableOutgoingSync Created page with "{{ServersideJsFunction}} {{JSContainer| === Required Params === *'''enable:''' {{RageType|boolean}} ===Return value=== *''' {{RageType|boolean}} ''' ==Syntax== <syntaxhighlight lang="javascript"> player.disableOutgoingSync </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> const player = mp.players.at(0); if (!player || !mp.players.exists(player)) return; player.disableOutgoingSync = true; //disable outgoing sync for player id 0 </syntaxhighlight> }}..." current
- 21:0021:00, 9 May 2024 diff hist +34 Template:Player properties No edit summary current
- 20:5420:54, 9 May 2024 diff hist −43 MeleeActionDamage added example to disable instant kill current
- 20:1220:12, 9 May 2024 diff hist 0 MeleeActionDamage No edit summary
- 19:4619:46, 9 May 2024 diff hist +23 Template:Player events clientside →Damage
- 19:4619:46, 9 May 2024 diff hist +803 N MeleeActionDamage Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Parameters=== *'''source:''' {{RageType|Object}} *'''target:''' {{RageType|Object}} *'''weaponHash:''' {{RageType|number}} *'''damage:''' {{RageType|number}} *'''isCritical:''' {{RageType|boolean}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.events.add('meleeActionDamage', (source, target, weaponHash, damage, isCritical) => {}); </syntaxhighlight> ==Example== <syntaxhighli..."
- 11:4111:41, 9 May 2024 diff hist +2 Vehicle::getModKit →See also current
- 11:4111:41, 9 May 2024 diff hist +2 Vehicle::getModKitType →See also current
- 11:4111:41, 9 May 2024 diff hist +2 Vehicle::getModColor2 →See also current
- 11:4111:41, 9 May 2024 diff hist +2 Vehicle::getModColor2TextLabel →See also current
- 11:4011:40, 9 May 2024 diff hist +2 Vehicle::getModColor1 →See also current
- 11:4011:40, 9 May 2024 diff hist +2 Vehicle::getModColor1TextLabel →See also current
- 11:4011:40, 9 May 2024 diff hist +2 Vehicle::getMaxTraction →See also current
- 11:4011:40, 9 May 2024 diff hist +2 Vehicle::getMaxNumberOfPassengers →See also current
- 11:4011:40, 9 May 2024 diff hist +2 Vehicle::getMaxBraking →See also current
- 11:4011:40, 9 May 2024 diff hist +2 Vehicle::getLivery →See also current
- 11:3911:39, 9 May 2024 diff hist +2 Vehicle::getLiveryName →See also current
- 11:3911:39, 9 May 2024 diff hist +2 Vehicle::getLiveryCount →See also current
- 11:3911:39, 9 May 2024 diff hist +2 Vehicle::getLandingGearState →See also current
- 11:3911:39, 9 May 2024 diff hist +2 Vehicle::getLastPedInSeat →See also current
- 11:3811:38, 9 May 2024 diff hist +2 Vehicle::getIsSecondaryColourCustom →See also current
- 11:3811:38, 9 May 2024 diff hist +2 Vehicle::getIsLeftHeadlightDamaged →See also current
- 11:3811:38, 9 May 2024 diff hist +2 Vehicle::getIsRightHeadlightDamaged →See also current
- 11:3811:38, 9 May 2024 diff hist +2 Vehicle::getIsPrimaryColourCustom →See also current
- 11:3811:38, 9 May 2024 diff hist +2 Vehicle::getIsEngineRunning →See also current
- 11:3811:38, 9 May 2024 diff hist +2 Vehicle::getHeliTailRotorHealth →See also current
- 11:3711:37, 9 May 2024 diff hist +2 Vehicle::getHeliMainRotorHealth →See also current
- 11:3711:37, 9 May 2024 diff hist +2 Vehicle::getHeliEngineHealth →See also current
- 11:3711:37, 9 May 2024 diff hist +2 Vehicle::getExtraColours →See also current
- 11:3711:37, 9 May 2024 diff hist +2 Vehicle::getEngineHealth →See also current
- 11:3711:37, 9 May 2024 diff hist +2 Vehicle::getDoorsLockedForPlayer →See also current
- 11:3711:37, 9 May 2024 diff hist +2 Vehicle::getDoorLockStatus →See also current
- 11:3511:35, 9 May 2024 diff hist +2 Vehicle::getDoorAngleRatio →See also current