Results 1 to 3 of 3

Thread: Spawning Items.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Davethegreat's Avatar



    Join Date
    May 05, 2008
    Last Online
    May 23, 2008
    Posts
    11
    Threads
    2



    Spawning Items.


    Hello, I have to say excellent work drunken fool. I just installed this mod onto my new HL2DM to turn it into a build server, by using some of your functions.

    I was wondering if you could make a slight modification, or tell me how to do this.

    I want to be able to set up trusted members that can spawn every item, this is available by adding them to steam id list.

    However I wish to be able to give normal members to spawn only items approved by me or my administrators, I can see two ways of doing this, catching the players (X,Y,Z) coordinates and spawning it in front of them, or you doing it using your way.

    The way I am planning on doing it is !spawn <ITEM>, in chat, I can set this up for trusted people, but not for untrusted. So either you can make the modifaction or you could tell me what to catch.

    Thanks Dave.

    P.S Have we met before?

  2. #2
    Drunken F00l's Avatar



    Join Date
    Dec 11, 2004
    Last Online
    Jun 11, 2019
    Posts
    5,874
    Threads
    182
    Reputation
    SourceOP Thread


        
    Steam: 76561197968459473 
    Steam join date: Aug 23, 2004
    Steam Level: 56
    Profile Status: Public



    There is no way to have two lists of spawnable items. Perhaps in a future version of SourceOP the e_spawnprop code will be implemented in Lua. If I implement it in Lua, you will be able to modify the current behavior as you please.

  3. #3
    Davethegreat's Avatar



    Join Date
    May 05, 2008
    Last Online
    May 23, 2008
    Posts
    11
    Threads
    2




    Well, I had another idea of doing that, if I or you created another plugin, that has a list of items that wasn't allowed unless your steam ID matched on a list.

    e_spawnprop <name> <x,y,z> would be nice and change the current e_spawnprop to e_spawn.

    The trigger would be !spawn <item> the items above that weren't allowed would relay the message You are not trusted, if your steam ID matched you could spawn said item.

    The X,Y,Z coordiantes would be for spawning the item infront of them, as ill be executing it as a console command.

Tags for this Thread