Write down all the occupants, so that later we can return them to the cloned transport.ĥ. But I will explain In a simple way, how should a working teleport look like, in which motorcycles will not throw themselves and the player when teleporting from far distance:ġ. I would give the script that I wrote, but there too many confusing functions. It turned out that it is best to recreate the car through CloneElement. I "solved" the problem with resetting the tilt of the motorcycle when teleporting in my own way. Using timer, as suggested by alex17" is not a bad option, but it works average. I leave you a very basic example so you can guide yourself RemoveEventHandler("onClientRender", root, dxDrawScoreboard)ĭxDrawRectangle(0, cache, 400, 100, "0x96000000")ĭxDrawText(getPlayerName(player), 0, cache, 400, 100 + cache) UnbindKey("mouse_wheel_down", "down", mouseWheel) UnbindKey("mouse_wheel_up", "down", mouseWheel) For _, player in ipairs(getElementsByType("player") doīindKey("mouse_wheel_up", "down", mouseWheel)īindKey("mouse_wheel_down", "down", mouseWheel)ĪddEventHandler("onClientRender", root, dxDrawScoreboard)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |