View Issue Details

IDProjectCategoryView StatusLast Update
0008401Multi Theft Auto : San AndreasClientpublic2014-07-31 01:03
ReporterRuuN-Assigned Tosbx320 
PriorityhighSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target Version1.4.1Fixed in Version1.4.1 
Summary0008401: Nitro functions cause crash in client side.
Description

When you use the functions: setVehicleNitroActivated, isVehicleNitroActivated and setVehicleNitroLevel they are doing crash the client.

Steps To Reproduce

Just a command to use the functions.

addCommandHandler("testnitro",
function (cmd, t)
local x,y,z = getElementPosition(localPlayer)
local veh = createVehicle(411, x, y+5, z)
addVehicleUpgrade(veh, 1010)
if (t == "1") then
setVehicleNitroActivated(veh, true)
elseif (t == "2") then
outputChatBox(isVehicleNitroActivated(veh))
elseif (t == "3") then
setVehicleNitroLevel(veh, 1.0)
end
end)

TagsNo tags attached.

Activities

RuuN-

2014-07-31 00:22

viewer   ~~0021546

I forget to say, it's MTA 1.4 released today 30/07.

sbx320

2014-07-31 01:00

administrator   ~~0021548

Last edited: 2014-07-31 01:01

View 2 revisions

Was previously fixed in 1.3 by r5174 but not merged back to trunk/1.4.

Fixed in https://code.google.com/p/mtasa-blue/source/detail?r=6751. Should also work on streamed-out vehicles now.

Issue History

Date Modified Username Field Change