T-Max

Server Developers
  • Content Count

    369
  • Joined

  • Last visited

  • Days Won

    35

Everything posted by T-Max

  1. 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.
  2. If you think there is a way - go ahead, show us I'm wrong.
  3. There is no way to do that.
  4. 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.
  5. 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.
  6. 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.
  7. T-Max

    web site very slow

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

    cheats

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

    cheats

    https://coub.com/view/y21b6
  12. You can remove didyouknow itemdef from loading screen.
  13. selectStringTableEntryInDvar command was removed.
  14. Relax, you can't compile mysql plugin for dev_newarch. There are no interface provided.
  15. 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.
  16. 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.
  17. Why? Do you like to overfill GUI with useless information?
  18. Menu stuff is client-only stuff. When you set dvar inside menu keep in mind you set local client dvar. Other way: When client connects set new userinfo dvar. Then, if you change dvar using menu, you will be able to get it on server. I forgot gsc command to get userinfo dvars, @fraggy can tell you what command is it. And yea, in this case this userinfo dvar used only as pipe from client to server and vice versa. You have to save real dvar value to stat or other non-volatile dvar because when you initially set dvar as userinfo - you have to send new value which overwrites player preference. And, you know, using stats is better - it's built-in functionality. Very nice for storing integer values but you can't hold user input string.
  19. T-Max

    Knife

    I bet you disabling fall damage by changing fall damage height.