Created New Effects and Modified Existing Ones:

modified:   Peds/PedsMillenials.lua - Their perception range gets modified too now.
	modified:   Player/PlayerAnnoyingInvisibleRCVehicle.lua - changed so the vehicle does not appear damaged
	new file:   Player/PlayerCantUseVehicles.lua New Effect, the player cant drive so they must now walk.
	modified:   Player/PlayerGetOffYourPhone.lua Implemented a new handler to pick the characters phone correctly
This commit is contained in:
2025-09-26 12:42:21 +01:00
parent d97b2a7c2c
commit d36de2c28a
4 changed files with 44 additions and 4 deletions

View File

@@ -22,8 +22,9 @@ function OnStart()
SET_ENTITY_INVINCIBLE(driver, true, false)
SET_ENTITY_ALPHA(driver, 0, 0)
SET_ENTITY_ALPHA(rc, 0, 0)
SET_VEHICLE_IS_CONSIDERED_BY_PLAYER(vehicle, false)
SET_VEHICLE_DOORS_LOCKED_FOR_ALL_PLAYERS(vehicle, true)
SET_VEHICLE_IS_CONSIDERED_BY_PLAYER(rc, false)
SET_VEHICLE_CAN_BE_VISIBLY_DAMAGED(rc, false)
SET_VEHICLE_DOORS_LOCKED_FOR_ALL_PLAYERS(rc, true)
SET_BLOCKING_OF_NON_TEMPORARY_EVENTS(driver, true)
TASK_VEHICLE_MISSION_PED_TARGET(driver, rc, playerPed, 6, 500.0, 786988, 0.0, 0.0, true)
SET_PED_CAN_BE_KNOCKED_OFF_VEHICLE(driver, 1)