+ Reply to Thread
Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 25

Thread: E2: Few new functions

  1. #11
    Wire Sofaking Whodunnit's Avatar
    Join Date
    Jan 2008
    Location
    New Zealand, Ackl
    Posts
    636

    Default Re: E2: Few new functions

    I'd make an inverse aimbot that makes everyone shoot me :P
    ЗАГРУЗКА...................

  2. #12
    Wire Sofaking Squeakyneb's Avatar
    Join Date
    May 2008
    Posts
    558

    Default Re: E2: Few new functions

    Quote Originally Posted by Whodunnit View Post
    I'd make an inverse aimbot that makes everyone shoot me :P
    He's a clever kid.

    Quote Originally Posted by Bull View Post
    I'm annoyed at having to use my keyboard when coding. Can someone please make voice-recognition so I can just talk?

  3. #13
    Wire Sofaking BlackholeWM's Avatar
    Join Date
    Dec 2008
    Posts
    805

    Default Re: E2: Few new functions

    um, how do I get these?

  4. #14
    Wire Sofaking d3cr1pt0r's Avatar
    Join Date
    Jul 2008
    Posts
    553

    Default Re: E2: Few new functions

    Quote Originally Posted by BlackholeWM View Post
    um, how do I get these?
    Put the attached file in:
    Code:
    Steam\steamapps\username\garrysmod\garrysmod\addons\wire\lua\entities\gmod_wire_expression2\core
    Then after that just restart map and you will have it.^_^

    EDIT: added attachment in first post.
    Last edited by d3cr1pt0r; 02-19-2009 at 11:46 AM.
    <3

  5. #15
    Wire Sofaking BlackholeWM's Avatar
    Join Date
    Dec 2008
    Posts
    805

    Default Re: E2: Few new functions

    thank you!

  6. #16
    Wire Sofaking d3cr1pt0r's Avatar
    Join Date
    Jul 2008
    Posts
    553

    Default Re: E2: Few new functions

    Oh! By the way, the attached file includes sendLua(S) and E:setConCmd(S) but its admin only
    <3

  7. #17
    Wire Tutor chinoto's Avatar
    Join Date
    Apr 2008
    Location
    Brooklyn Park, MN. Lost my thumbdrive yet again...
    Posts
    1,983

    Default Re: E2: Few new functions

    Quote Originally Posted by d3cr1pt0r View Post
    You can simply restrict it to admins only by just adding 1 more thing to 1 line:

    [highlight=lua]
    registerFunction("setPos", "e:v", "", function(self,args)
    local op1, op2 = args[2], args[3]
    local rv1, rv2 = op1[1](self,op1), op2[1](self,op2)
    if(!validEntity(rv1) or !self.player:IsAdmin()) then return end
    rv1:SetPos(Vector(rv2[1],rv2[2],rv2[3]))
    end)
    [/highlight]
    I don't know lua, so I didn't know the solution would be so simple.
    (\__/) Expression 2 Resources: E2 Beginner's Guide | E2 Formatting Guide | E2 Function Reference | E2 Examples | Me
    (='.'=) PM me code and I'll send it back optimized if possible. (I find it fun dammit!)
    (")_(") Drunkie referring to an E2: "It's obvious that Chinoto made this, his coding style is all over it."

  8. #18
    Wire Sofaking BlackholeWM's Avatar
    Join Date
    Dec 2008
    Posts
    805

    Default Re: E2: Few new functions

    Um I still don't have the functions. The attachment didn't work and I have tried copying the lua code into a file and have called it both custom and other title. I have even tried putting a file in the custom folder and now I am going to put the attachment into the folder also. Some help pls?

  9. #19
    Wire Sofaking d3cr1pt0r's Avatar
    Join Date
    Jul 2008
    Posts
    553

    Default Re: E2: Few new functions

    Quote Originally Posted by BlackholeWM View Post
    Um I still don't have the functions. The attachment didn't work and I have tried copying the lua code into a file and have called it both custom and other title. I have even tried putting a file in the custom folder and now I am going to put the attachment into the folder also. Some help pls?
    This is how it should be:
    <3

  10. #20
    Wire Tutor chinoto's Avatar
    Join Date
    Apr 2008
    Location
    Brooklyn Park, MN. Lost my thumbdrive yet again...
    Posts
    1,983

    Default Re: E2: Few new functions

    I thought it went in the custom folder....
    (\__/) Expression 2 Resources: E2 Beginner's Guide | E2 Formatting Guide | E2 Function Reference | E2 Examples | Me
    (='.'=) PM me code and I'll send it back optimized if possible. (I find it fun dammit!)
    (")_(") Drunkie referring to an E2: "It's obvious that Chinoto made this, his coding style is all over it."

+ Reply to Thread
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. NPC functions - Egate2
    By Bobsymalone in forum Wiremod Addons & Coding
    Replies: 50
    Last Post: 10-30-2009, 09:15 AM
  2. E2 seat functions!
    By Azrael in forum Wiremod Addons & Coding
    Replies: 18
    Last Post: 05-09-2009, 12:14 AM
  3. [E2] HUD-drawing functions
    By SatansSimon in forum Wiremod Addons & Coding
    Replies: 23
    Last Post: 03-22-2009, 03:15 PM
  4. E-2 some functions.
    By Whodunnit in forum Ideas & Suggestions
    Replies: 12
    Last Post: 03-11-2009, 05:31 AM
  5. Need ADVANCED help with functions!
    By scasbyte in forum Wiremod General Chat
    Replies: 4
    Last Post: 07-28-2007, 10:02 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots