View Issue Details

IDProjectCategoryView StatusLast Update
0000236Client/GameGrand Theft Auto IIIpublic2020-12-07 06:55
ReporterDeVeX Assigned To 
PrioritylowSeveritytrivialReproducibilityalways
Status newResolutionopen 
Platformx64OSWindowsOS Version10
Summary0000236: SET_TAXI_LIGHTS does not make any change
Description

gta.SET_ALL_TAXI_LIGHTS
gta.SET_TAXI_LIGHTS

Both does not make a change when used. SET_ALL_TAXI_LIGHTS affects only taxis that are spawned after it was used.

TagsNo tags attached.
Game

Activities

Vortrex

2020-12-07 05:12

administrator   ~0000116

What are you using for the vehicle integer?

DeVeX

2020-12-07 06:46

reporter   ~0000117

localPlayer.vehicle.id (I check the native stuff on https://gtamods.com/wiki/)
Using the same integer for vehicle engine, which is working.

Also tried the client-side scripting function provided by GTAC:

addCommandHandler("taxilight",function(commandName, args){
if(localPlayer.vehicle.taxiLight)
localPlayer.vehicle.taxiLight = false;
else
localPlayer.vehicle.taxiLight = true;
});

Getting the following:
Error: can't define property "taxiLight": Object is not extensible

DeVeX

2020-12-07 06:47

reporter   ~0000118

The error line is the 5th line of this snippet, btw.

Vortrex

2020-12-07 06:49

administrator   ~0000119

I'll take a look at the native soon.
vehicle.taxiLight is only available on GTA IV right now, hence the "GTA IV Only" at the top of the wiki page for it.

DeVeX

2020-12-07 06:55

reporter   ~0000120

My fault, sry!

Issue History

Date Modified Username Field Change
2020-12-07 05:02 DeVeX New Issue
2020-12-07 05:12 Vortrex Note Added: 0000116
2020-12-07 06:46 DeVeX Note Added: 0000117
2020-12-07 06:47 DeVeX Note Added: 0000118
2020-12-07 06:49 Vortrex Note Added: 0000119
2020-12-07 06:55 DeVeX Note Added: 0000120