Close

Results 1 to 6 of 6
  1. #1
    Junior Poster
    Join Date
    Feb 2014
    Posts
    97
    Post Thanks / Like
    Rep Power
    0

    saveloc plugin (SourceMod)

    Hello everyone,
    I'm not really sure where to put this so ill put it here. Over the last couple days I set up a basic server to test the maps I was making, and I wanted a save location plugin to help test. After not being satisfied with the plugins I could find online, I wrote my own. I thought that I would share it with you guys just in case anybody wanted it. Its very bare-bones with only two commands: sm_saveloc, and sm_teleport. Right now each client only gets one teleport, but I will probably change that in the future. It probably has bugs but I just wanted to put together something quickly without too much learning. I will include the source in the download, feel free to modify, copy, or use any part of my code elsewhere.

    Here is a download, stick it in the sourcemod folder it should work:
    https://dl.dropboxusercontent.com/u/...TM_saveloc.rar

  2. #2
    CSGO Admin mbsurfer's Avatar
    Join Date
    Apr 2009
    Posts
    93
    Post Thanks / Like
    Rep Power
    0
    Put it up on Github!

  3. #3
    KSF Member
    Join Date
    Oct 2012
    Posts
    144
    Post Thanks / Like
    Rep Power
    30
    Pretty good lightweight plugin. One issue I found is it doesn't save the z axis view angle, so I fixed it.

    https://www.mediafire.com/?dfw2m7r8wg7az0a

    To fix this I simply changed line 58 in your script:
    Code:
    GetClientAbsAngles(client, angData[client]);//save angles
    To this:
    Code:
    GetClientEyeAngles(client, angData[client]);//save angles

  4. #4
    Junior Poster
    Join Date
    Feb 2014
    Posts
    97
    Post Thanks / Like
    Rep Power
    0
    Nice! Thanks dude. I had noticed that and planned to fix it eventually but it was pretty usable so I just left it. I also have an updated version that will save multiple points and they can be used by any client. The command sm_teleport [#] or sm_tele [#] will teleport the client to the location and remember which location the client last teleported to. Using sm_teleport again will teleport the client to the saved location. I tried to get it close to the plugin on ksf for usability sake.

    Here is a dl (with fix from jux): https://dl.dropboxusercontent.com/u/...saveloc-v2.rar

  5. Thanks frussif, Juxtapo thanked for this post
  6. #5
    New User exydosback's Avatar
    Join Date
    Aug 2016
    Posts
    6
    Post Thanks / Like
    Rep Power
    0
    Looking for more work done with this plugin! Start looks great! Hmu. eXydos | zskyworld.com is my name on steam

  7. Thanks Levi thanked for this post
  8. #6
    Regular Poster Levi's Avatar
    Join Date
    Oct 2015
    Location
    Turkey
    Posts
    125
    Post Thanks / Like
    Rep Power
    23

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •