Server Developers
  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by T-Max

  1. Looks like MW2 timescale desync.
  2. T-Max

    Mw2 functions port

    Yep. Just tried to make same stuff and voila.
  3. Well, you asked about shape and mentioned prism which is 3 dimensional stuff.
  4. Looks like a battle royale request. Well, you can implement some kind of binary space partitioning algorithms to be able to find if entity is inside or outside of shape. But this is overcomplicated for gsc scripts so better use sphere.
  5. I saw the function that changes map names and it is not applicable to our project because, surprise, it is not mw3 and we do not know what they tried to find with their own memory scanner.
  6. If you think there is a way - go ahead, show us I'm wrong.
  7. There is no way to do that.
  8. self.targetID = -1; self thread TargetTest(self.origin); self thread TargetTest(); self.targetID = getClosestTarget(origin); self.targetID = getClosestTarget(self.origin); And post error message one more time but include one more line. 4 instead of previous 3.
  9. It's the only place where addressing field object. Plugin_Scr_AddUndefined(); Your plugin function returns undefined or int - not good. Return -1 - it still integer and it means "no index in array found" since you're working with array.
  10. Make sure "self" is not an integer. Field objects are structs in gsc. Entities are field objects too. And you missed "^" pointer in script runtime error block. It helps to see what caused error.
  11. T-Max

    web site very slow

    Well, Russian VPN is kinda good because no one cares what you doing here HAHA
  12. It's view hardcoded. You can change it only by changing some of client variables by setClientDvar.
  13. There is a menuresponse invoked when you opens score tab.
  14. T-Max


    self is a special variable. You can do something like that: something = spawnstruct(); something.test = 1337; something foo(); ... foo() { if (self.test == 1337) { // Yep. } }
  15. T-Max


  16. You can remove didyouknow itemdef from loading screen.
  17. selectStringTableEntryInDvar command was removed.
  18. Relax, you can't compile mysql plugin for dev_newarch. There are no interface provided.
  19. I can't say how you can achieve that visibility in "replay" (aka "killcam") mode, but you definetely can and some of finalkillcam mode used that - in final killcam you can see overlay not exist in usual play.
  20. Oh, then you can use gsc "getVelocity". It retuns 3 dimensional array. To get speed, use square root from sum of squared components. Yea, speed is vector length.