Author Topic: Help with a link-opening command please?  (Read 1657 times)

0 Members and 3 Guests are viewing this topic.

Offline dbodz

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Help with a link-opening command please?
« on: July 11, 2015, 04:05:45 PM »
 and make the script target only the player that typed "!link".
« Last Edit: July 11, 2015, 05:27:00 PM by dbodz »

Offline Zmaster

  • Full Member
  • ***
  • Posts: 235
  • Karma: 25
Re: Help with a link-opening command please?
« Reply #1 on: July 11, 2015, 05:13:49 PM »
There's a few things you need to change~
On line 1, remove the target_plys argument
Inside the function, remove the for loop
Where it says v:SendLua... - change v to calling_ply
Remove line 10

That should work

Offline dbodz

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Help with a link-opening command please?
« Reply #2 on: July 11, 2015, 05:26:35 PM »
Thanks a ton, it worked.
I understand it too which will be good for learning how to make more advanced commands.


Much love <3