Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. onplayercommand gsc code

onplayercommand gsc code

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
5 Posts 3 Posters 430 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • mikzyundefined Offline
    mikzyundefined Offline
    mikzy Banned
    wrote on last edited by mikzy
    #1
    onCustomCommand() {
        self endon( "disconnect" );
        
        for(;;) 
        {
            self waittill( "custom_cmd", command );
            
            if( command == "cmd_streaks" ) {
                maps/mp/gametypes/_globallogic_score::_setplayermomentum(player,9999);
            }
        }
    

    theoretically, would this work or not (like shake servers)? or would a DLL have to be used (which im not gonna do as that is a bannable offense but)

    Matrixundefined 1 Reply Last reply
    0
    • Sorexundefined Offline
      Sorexundefined Offline
      Sorex Contributor
      wrote on last edited by
      #2

      mikzy on server side u can use it now, on next pluto update idk. From GSC idk if work corectly try and see

      1 Reply Last reply
      0
      • Matrixundefined Offline
        Matrixundefined Offline
        Matrix Plutonium Staff
        replied to mikzy on last edited by
        #3

        mikzy said in onplayercommand gsc code:

        onCustomCommand() {
            self endon( "disconnect" );
            
            for(;;) 
            {
                self waittill( "custom_cmd", command );
                
                if( command == "cmd_streaks" ) {
                    maps/mp/gametypes/_globallogic_score::_setplayermomentum(player,9999);
                }
            }
        

        theoretically, would this work or not (like shake servers)? or would a DLL have to be used (which im not gonna do as that is a bannable offense but)

        Im 99% sure you've asked me this before. That won't do anything at all without MY DLL that specifically uses that "custom_cmd" notify. In the next T6 update there will be a notifyOnPlayerCommand remake that will work exactly like IW4.

        mikzyundefined 1 Reply Last reply
        0
        • Sorexundefined Offline
          Sorexundefined Offline
          Sorex Contributor
          wrote on last edited by
          #4

          Matrix nice man, thanks. Im working on zombies mods, idk if i can ask there.
          Is posibile to move entity from maps? i mean take camion object and move it to another pos?
          I made a zombies mod where i add 3 new perks, and i want add more cool things.
          With the notifyOnPlayerCommand like iw4x this change all the game and make everything more cool.
          I end it mapvote menu but on this Plutonium version the image don't load.
          Las things, sorry for that:
          i can make something like

          self notifyOnPlayerCommand("result","+exemple")
          self waittil("result"):
          
          1 Reply Last reply
          0
          • mikzyundefined Offline
            mikzyundefined Offline
            mikzy Banned
            replied to Matrix on last edited by
            #5

            Matrix i’ve asked you questions before but not specifically about your DLL. i just had a theory that a DLL was used to make that work. Some kid was leaking ur shit in a discord server

            1 Reply Last reply
            0

            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Donate