Results 1 to 7 of 7
  1. #1
    shadowjason's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Posts
    32
    Reputation
    10
    Thanks
    1

    How do i use scripts with Garrys Mod?

    my friend and i are trying out some propkill scripts, how exactly do we use them? the post for the scripts is here: https://www.mpgh.net/forum/461-steam-...ll-script.html thanks.

  2. #2
    Gray's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Location
    Sweden
    Posts
    13,557
    Reputation
    2516
    Thanks
    10,618
    Add them to your garrysmod/garrysmod/lua folder as a lua and then run them with a bypasser.

  3. #3
    shadowjason's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Posts
    32
    Reputation
    10
    Thanks
    1
    where do i get a bypasser?

    ---------- Post added at 08:38 PM ---------- Previous post was at 08:18 PM ----------

    and how exactly do i use the scripts and bypasser?

  4. #4
    gnomeofdeath's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    4C 6F 73 74 20 69 6E 20 53 70 61 63 65
    Posts
    296
    Reputation
    18
    Thanks
    1,066
    My Mood
    Amused
    Goto Antipathy's Abyss Bypasser, I'm sure you can follow instructions there on how to use them together...

  5. #5
    shadowjason's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Posts
    32
    Reputation
    10
    Thanks
    1
    its confusing, can someone please tell me how to exactly run scripts? thanks

  6. #6
    Siknik64's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Posts
    50
    Reputation
    10
    Thanks
    7
    Ok, pay attention.

    Put the scripts in your garrysmod/garrysmod/lua directory. If there is not a lua folder, make one. It'll work just the same. Put the script file into it, name it something simple. Like "propkill.lua"

    From there, load Garry's Mod. After that, load the bypasser. I don't think the bypasser matters if it's just single player. If multiplayer, load the bypasser and check the 'sv_allowcslua' option. Enter a server, and open your console.

    In the console, type 'lua_openscript_cl' then the script name. "lua_openscript_cl propkill.lua" The script should be running. That's it.

    You will have to do this EVERY time you enter a server or if the server changes the map.

    ---------- Post added at 11:07 PM ---------- Previous post was at 11:01 PM ----------

    Now for the script part, it looks like that particular script has "throwmagneto" as the script action. (It will vary depending on the script) So you'll need to activate that to use the script properly.

    This is easy. Open console, type bind "a" "throwmagneto" (The "a" can be ANY key you choose.) After it's binded, run the script or run the script before, it doesn't matter which order. That's it. The binding does not go away after the server changes or game closes so you'll only need to do this ONCE.

    IMPORTANT: To unbind the key, simply type unbind "a" (or whatever key you're using) in console. This will remove whatever script function is tied to that key.
    Last edited by Siknik64; 04-06-2013 at 10:08 PM.

  7. The Following 3 Users Say Thank You to Siknik64 For This Useful Post:

    coca12345 (04-07-2013),shadowjason (04-07-2013),Gray (04-07-2013)

  8. #7
    shadowjason's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Posts
    32
    Reputation
    10
    Thanks
    1
    thanks so much dude!!!!!!!!

Similar Threads

  1. [Tutorial] How to use scripts with new VA update!
    By `Rejected in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 16
    Last Post: 02-17-2013, 02:46 PM
  2. [Help] How Do u use Scripts.
    By lolkim6 in forum Mission Against Terror Discussions
    Replies: 0
    Last Post: 07-27-2011, 08:26 AM
  3. how do i use the Super knife mod
    By bubbafriend in forum Combat Arms Mod Discussion
    Replies: 2
    Last Post: 10-25-2010, 10:15 PM
  4. How can I use fraps with no lag?
    By PyrexxHero® in forum Combat Arms Discussions
    Replies: 1
    Last Post: 11-10-2009, 10:49 PM
  5. How do i use NFV2 with PB
    By hakufu in forum WarRock - International Hacks
    Replies: 10
    Last Post: 07-18-2006, 05:42 PM