1. Check out the Store if you're looking to Buy HL2RP or other schemas for your server. You can click Buy Schemas on the very top navigation bar to visit the store.
  2. Dismiss Notice
  3. Dismiss Notice
  4. Use the Plugin Center to easily subscribe to and auto-install Clockwork plugins to your server, or submit and share plugins you have developed.
  5. Having trouble setting up or developing with Clockwork? Check out the Wiki or post in the Support Forum for advice from fellow users.
Dismiss Notice
Hi Guest, you need a Steam account to register and post on these forums. Login with Steam at the top of the forums to get started!
Dismiss Notice
Hi Guest, do you want to buy HL2RP or another Clockwork schema? Visit the Cloud Sixteen Store to get started!

Gr4Ss' plugin thread v2

Discussion in 'Plugins' started by Gr4Ss, Apr 30, 2016.

  1. Oh god, the types that slipped past me.

    In the file that you see in that error (which has a nice typo in its name already, but that doesn't matter), on line 17 replace 'radationZones' with 'radiationZones'.
     
  2. The Dovahneer

    The Dovahneer i can change my title Active Member

    i feel fucking retarded for not noticing that
    thanks

    Edit:
    I'm now unable to place radiation zones.
    Code:
    [Clockwork:Command]
    
    The 'RadiationZoneAdd' command has failed to run.
    
    gamemodes/cwhl2rp/plugins/radiation/plugin/commands/sh_radiationzoneadd.lua:56: attempt to index local 'b' (a nil value)
     
    Last edited: Jun 17, 2017
  3. karl-police

    karl-police Hotrod turret Active Member

    This was the old line:

    Code:
    table.sort(PLUGIN.radiationZones, function(a, b) return a.scale > b.scale end);
    I'm not good at this atm cause it similar to HUD's because they have scales too so but maybe b doesn't have a scale or doesn't even get placed.

    But it gets stored somewhere here:

    Code:
            local data = {
                minimum = Vector(math.min(first.x, second.x), math.min(first.y, second.y), math.min(first.z, second.z)),
                maximum = Vector(math.max(first.x, second.x), math.max(first.y, second.y), math.max(first.z, second.z)),
                scale = tonumber(arguments[1])
            };
    again not good with this like making an area where you walk inside it it does something, maybe in hammer editor but not here.
     
  4. The Dovahneer

    The Dovahneer i can change my title Active Member

    Further testing revealed that it only happens when dealing with decimals for scale, for example 0.5.
     
  5. guys how to create item, which change bodygroup? I used in-game customzable items, but this item change full model, no bodygroup. Give an example code pls(
     
  6. Anti-Gas Armor made with this exact code are not able to be unequipped, is there any way to add this function?
     
  7. Where's the radio items?
     

Previous Readers (Total: 0)