View Issue Details

IDProjectCategoryView StatusLast Update
0001982Multi Theft Auto : San AndreasScriptingpublic2007-04-27 04:17
ReporterjbetaAssigned ToJax 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformAMD Athlon(tm) 64 X2 ~2.2GHzOSWindows XP Professional x64 SP1OS Version5.2, Build 3790
Product Versionblue_sa.r2.a12 
Target VersionFixed in Versionmtasadm_v1.0-dp1 
Summary0001982: Clientside bindKey crashes the client if functions are bound to controls
Description

Binding to regular keys works fine, binding to GTA controls crashes to desktop when the control's pressed.

Steps To Reproduce

Start bindscrash2, press forward.

Additional Information

--[bindscrash2.lua]
local movementControls = {"forwards"}

addEventHandler("onClientResourceStart",getRootElement(),"startGlueTimer")
function startGlueTimer(resource)
if resource ~= getThisResource() then return end

for i, control in movementControls do
    outputChatBox("Binding "..control)
    bindKey(control,"down","crashFunction")
end

end

function crashFunction()
outputChatBox("test")
end
--[end of bindscrash2.lua]

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change