Jump to content

Orange

Members
  • Posts

    327
  • Joined

  • Last visited

Everything posted by Orange

  1. var_dump the object
  2. showKills is never triggered, that's all. dxText is used by many devs in same way and nobody had that problem. Verify the trigger ^^
  3. Jakimś cudem, na serwerze Andromeda Race/DD/DM cheaterów nie zaznasz, a nie blokuję żadnych krajów
  4. Maybe above vehicle? g_P = getLocalPlayer() rocketTimer = false function rocket() if not rocketTimer then local x,y,z = getElementPosition(g_P) createProjectile(g_P, 19, x,y,z + 1, 200) rocketTimer = setTimer(function() rocketTimer = false end, 3000, 1) else outputChatBox("You must wait 3 seconds to fire again", 0, 255, 0, true) end end function onResourceStart() bindKey("lctrl", "down", rocket) end addEventHandler("onClientResourceStart", resourceRoot, onResourceStart)
  5. https://wiki.multitheftauto.com/ executeSQLQuery
  6. b) ty jesteś debilem? a co jak ktoś z danego kraju nie oszukuje? przecież to pozbywanie się użytecznych graczy z serwera
  7. You make tables which you need. We won't give you the list of the tables which you should need o,o
  8. mysql_query, that's all, and of course http://tinyurl.com/y9e69gt
  9. Orange

    texlib :D

    The object's name is "teamName" The text is content of text
  10. Check out php's mysql module o,o
  11. cmon, these are just variables. that "are you on the ground" was a mistake in the post. I meant that: 1) You have 2 tables - Objects in 100x100x64 near you and 21x21 on the top 2) When someone changes his position, the tables are synced with server 3) Script creates/deleters objects on the top of map (so renders all of the objects in the 2nd table) that's all :>
  12. I lold at his post @DanChris: http://tinyurl.com/cjzqsm
  13. Orange

    dx collisions

    Huh, I remember that I was creating a game like that for my race server :> People could play mario on a "psp" ingame
  14. So there's no map gen etc. - this res will fail. I bet that soon it will be dead. The things which he listed aren't really hard, I could do them in 2 days. [sarcasm] Anyway, WHY DON'T WE SCRIPT A GAME ENGINE USING DX FUNCTIONS? [/sarcasm] Yea, I was too hard a bit... but we have too many "pro devs", who can't even do an easily extendable resource. I described how to do it in The Kid's topic, but I bet that he won't even try to do it :F @Solidsnake14: can you send me that one? I might try to optimize it a bit to make your future work easier offtopic: Profesjonalny programista nie ma strony internetowej na cba, jesteś już dla mnie nikim :<
  15. Orange

    dx collisions

    I've just written how to start :> Of course, calculations are needed, and dx objects are one of the most useful solutions right now.
  16. @Zango: I planned to find one, but it seems that there's only ONE publicly available, which doesn't really work. Can you share your app? I need something like that one, but for lua :>
  17. @Remi-X: it's like omfguncompilable = {{{{{{},{},{},{}}}}}}; Should work
  18. Orange

    Next map...

    List the error which shows when you start resource using debugscript. btw. you're editing the wrong file, and if you want to disable votes, then check config in meta.xml
  19. Orange

    dx collisions

    For that, everything has to be mixed in one resource. Create an object "dximage" or somewhat, and then in onClientRender, when rendering these, check if they collide and trigger an event if they do. That's all
  20. What a noobzor. "An uknown guy started scripting one of the hardest gamemodes evers" - that's all I can say. You will fail at the start and give up like The Kid did
  21. @UAEpro: What a kid Of course, you won't, you'll just change it to yours Nice, I did something like that before, but it was something like "you type the resource directory, there's another one created, but with the "c" in name and with compiled scripts". You may add it. btw. add the mirror: http://aservers.pl/uploads/luacgui.zip
  22. You've failed. You could see the meta.xml file inside the resource: <script src="openframe/shared/utils.lua" type="client" /> <script src="openframe/shared/utils.lua" type="server" /> <script src="openframe/client/gui/GUICollection.lua" type="client" /> <script src="openframe/client/gui/button_class.lua" type="client" /> <script src="openframe/client/gui/checkbox_class.lua" type="client" /> <script src="openframe/client/gui/gridlist_class.lua" type="client" /> <script src="openframe/client/gui/label_class.lua" type="client" /> <script src="openframe/client/gui/memo_class.lua" type="client" /> <script src="openframe/client/gui/progressbar_class.lua" type="client" /> <script src="openframe/client/gui/radiobutton_class.lua" type="client" /> <script src="openframe/client/gui/scrollbar_class.lua" type="client" /> <script src="openframe/client/gui/staticimage_class.lua" type="client" /> <script src="openframe/client/gui/textbox_class.lua" type="client" /> <script src="openframe/client/gui/tabpanel_class.lua" type="client" /> <script src="openframe/client/gui/tab_class.lua" type="client" /> <script src="openframe/client/gui/window_class.lua" type="client" /> <script src="openframe/client/gui/sharedfuncs_class.lua" type="client" /> <script src="openframe/client/gui/wndtab_class.lua" type="client" /> <script src="openframe/shared/class_class.lua" type="server" /> <script src="openframe/shared/debug_class.lua" type="server" /> <script src="openframe/shared/store_class.lua" type="server" /> <script src="openframe/shared/event_class.lua" type="server" /> <script src="openframe/shared/class_class.lua" type="client" /> <script src="openframe/shared/debug_class.lua" type="client" /> <script src="openframe/shared/store_class.lua" type="client" /> <script src="openframe/shared/event_class.lua" type="client" /> <script src="openframe/shared/timer_class.lua" type="client" /> <script src="openframe/shared/timer_class.lua" type="server" /> <script src="openframe/shared/command_class.lua" type="client" /> <script src="openframe/shared/command_class.lua" type="server" /> <script src="openframe/shared/xml/xml.lua" type="client" /> <script src="openframe/shared/xml/xml_node.lua" type="server" /> <script src="openframe/server/mysql_class.lua" type="server" /> <script src="openframe/server/textlib_s.lua" type="server" /> <!-- <script src="openframe/server/ar_class.lua" type="server" /> --> <script src="openframe/client/client_anim.lua" type="client" /> <script src="openframe/client/dx/textlib.lua" type="client" /> <script src="openframe/client/dx/textlib_anim.lua" type="client" /> ^add it after tag, before other <script src="openframe/shared/utils.lua" type="server" /> <script src="openframe/shared/class_class.lua" type="client" /> <script src="openframe/shared/event_class.lua" type="server" /> <script src="openframe/server/mysql_class.lua" type="server" /> ^I'm not sure that's all I had a script which mixed everything into 2 files, but I accidentaly lost it.
  23. I've recently bought the game. IT ROCKS! The graphics aren't really good (they might be better), but the gameplay is awesome I wish the multiplayer was the same as singleplayer, cuz it sucks. I like the scenes when aliens have sex with women, lulz Have you played it? What are your feelings about the game?
×
×
  • Create New...