Add new effect 'Disable Pedestrians'; update 'Back To Black' effect timing; enhance 'Annoying RC Vehicle' functionality

This commit is contained in:
2026-01-20 20:52:45 +00:00
parent 5e7aecc712
commit 8b16e4aefd
8 changed files with 160 additions and 5 deletions

View File

@@ -17,6 +17,7 @@ function OnStart()
driver = CreatePoolPed(1, driverModelHash, coords.x, coords.y, coords.z+50, heading)
SET_NETWORK_ID_EXISTS_ON_ALL_MACHINES(PED_TO_NET(driver), true)
SET_NETWORK_ID_EXISTS_ON_ALL_MACHINES(VEH_TO_NET(rc), true)
SET_HORN_ENABLED(rc, false)
SET_PED_INTO_VEHICLE(driver, rc, -1)
SET_ENTITY_LOAD_COLLISION_FLAG(driver, true, 1)
SET_ENTITY_INVINCIBLE(driver, true, false)