1. This forum is ARCHIVED! Visit the new Cloud Sixteen forums, codename Eden, at https://eden.cloudsixteen.com. These forums will remain archived for a few months before being closed down, so try to encourage plugin developers to begin moving their content across to the new forums.
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!

[HL2RP] Apply

Discussion in 'Plugins' started by Mr. Meow, Apr 13, 2013.

  1. Mr. Meow

    Mr. Meow will code for food Clockwork Customer

    Name: Apply
    Version: v2.0.1
    Compatibility: HL2 RP Only
    Installation: Just put folder from archive to "garrysmod/gamemodes/cwhl2rp/plugins"
    Screenshots:
    ------------------
    [​IMG]
    ------------------
    [​IMG]
    ------------------
    http://i.imgur.com/RMXQwTI.jpg
    ------------------
    Usage:
    Type /Apply in chat and if you're citizen or CWU or even Vortigaunt, you will say your name and CID plus everybody in talking range will recognize you.
    Example:
    In: /Apply
    Out: David Green, #73602
    Starting from version 2.0 you can type /Name and you will say your character's name. This may be helpful for CPs and players with difficult names.
    Example:
    In - /Name
    Out - Unit CP-UNION.03.123.
    --OR--
    In - /Name
    Out - David Green.

    Download:
    Download (v2.0.1) - English Version
    Download (v2.0.1) - Russian Version


    Changelog:
    v2.0.1:
    Changed the way to check if player has CID.

    v2.0 (Out of nowhere!):
    Added /Name command which can be used by CPs. This may be helpful for people with long or difficult names.
    Added Russian Version of the plugin.
    Made Code cleaner.

    v1.3:
    Fixed the plugin to make it work on 0.88a (Thanks to Hunger Johnson)

    v1.2:
    Updated to Work with Clockwork 0.87

    v1.1.2:
    Added config called "Enable Apply Recognize" to switch recognize function on|off

    v1.1:
    Added function to recognize character on command use

    v1.0.1:
    Bug Fixes

    v1.0:
    Initial Release

    Enjoy!
     
  2. Code:
    local radius = Clockwork.config:Get("talk_radius"):Get();
    	for k, v in pairs(player.GetAll()) do
    		if(v:GetPos():Distance(player:GetPos()) <= radius and IsValid(v) and v:HasInitialized()) then
    			Clockwork.player:SetRecognises(v, player, RECOGNISE_TOTAL)
    		end;
    	end;
    Should make the player be recognized by the people around him, but I'm not 100% positive.
     
  3. Mr. Meow

    Mr. Meow will code for food Clockwork Customer

    I'll try to add this to my plugin. Thanks!
     
  4. RJ

    RJ no pay Legend Clockwork Customer

    You should make it a CW configuration variable. I know some servers prefer to keep a player's identity secret if they're a rebel or something so that minges can't just report them. Maybe also having the option to use your own name or nickname.
     
  5. Mr. Meow

    Mr. Meow will code for food Clockwork Customer

    Nice idea. I'll make it.
     
  6. Mr. Meow

    Mr. Meow will code for food Clockwork Customer

    Updated!
     
  7. Mr. Meow

    Mr. Meow will code for food Clockwork Customer

    There was an error, but I fixed it in my plugin. There is
    "for k, v in pairs(_player.GetAll()) do" instead of just "for k, v in pairs(player.GetAll()) do"
     
  8. Mr. Meow

    Mr. Meow will code for food Clockwork Customer

    Plugin is updated to work with Clockwork v 0.87!
     
  9. Cz.robeson

    Cz.robeson Guest

    Updated to work with 0.87 > When finishing download and opening the rar > Apply ('A')

    Isn't it supposted to be small?
     
  10. Grike

    Grike Hallelujah.

    This will totally work with people who have problems finding their CID.. :p
     
  11. I think with the new CW update 0.88a this plugin doesnt work anymore.
    I reinstalled it multiple times and i wont work anymore it was working on my server before the 0.88a update. If i do the command /apply it only shows in the console that i typed /apply no errors or nothing is just broken i guess...
     
  12. Mr. Meow

    Mr. Meow will code for food Clockwork Customer

    The fix is coming soon :)
     
  13. Any news on the update?
     
  14. Mr. Meow

    Mr. Meow will code for food Clockwork Customer

    I will do it today.
     
  15. sants1

    sants1 I'm an asshole. That's all.

    Nice plugin!
     
  16. Mr. Meow

    Mr. Meow will code for food Clockwork Customer

    Thank you! I'll fix it very very soon.
     
  17. MP6767

    MP6767 wesavages.org

    Great plugin, can't wait till it's fixed.
     
  18. How long for this fix?
     
  19. Mr. Meow

    Mr. Meow will code for food Clockwork Customer

    Please, be patient, it's coming soon.
     

Previous Readers (Total: 0)