Jump to content

thisdp

Scripting Moderators
  • Posts

    535
  • Joined

  • Last visited

  • Days Won

    9

Everything posted by thisdp

  1. My multi-gamemode request a script loader. And i use "loadstring",but i don't know how to clear anything it created(except stop the resource).
  2. I'm sorry.Because of my poor English, I can't report it by myself.I don't know how to report bugs.
  3. 其实呢。。你猜我来干嘛的。
  4. 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".
×
×
  • Create New...