Scripting Moderators thisdp Posted October 29, 2014 Scripting Moderators Share Posted October 29, 2014 I found 3 bugs in mtasa client side. The first one: When I used the function "getKeyState", I found a problem. I press either "left shift" or "right shift" and both getKeyState("lshift") and getKeyState("rshift") usually return true. code: addEventHandler("onClientRender",root,function() local lss = getKeyState("lshift") local rss = getKeyState("rshift") outputChatBox(""..tostring(lss).." "..tostring(rss).."") end) The second one: local x,y,z = getElementPosition(localPlayer) createProjectile(getLocalPlayer(),19,x,y,z,200,nil,0,0,0,0,0,1,411) createProjectile use a vehicle model will cause crash. The third one: Do this: Press "num_dec" (getKeyState("num_dec") returns true) Hold "num_dec" and press "lshift" or "rshift" (getKeyState("num_dec") returns true) Release the "shift" you pressed,then release "num_dec". And now getKeyState("num_dec") still return true,although you release "num_dec". Link to comment
toxicsmoke11 Posted October 29, 2014 Share Posted October 29, 2014 report it at bugs.mtasa.com Link to comment
Scripting Moderators thisdp Posted October 29, 2014 Author Scripting Moderators Share Posted October 29, 2014 I'm sorry.Because of my poor English, I can't report it by myself.I don't know how to report bugs. Link to comment
Woovie Posted October 29, 2014 Share Posted October 29, 2014 I'll try to test these myself and report them. Link to comment
Scripting Moderators thisdp Posted October 29, 2014 Author Scripting Moderators Share Posted October 29, 2014 I'll try to test these myself and report them. Thank you~ Link to comment
Recommended Posts