Raised This Month: $51 Target: $400
 12% 

Teleport By Name


Post New Thread Reply   
 
Thread Tools Display Modes
Author
almcaeobtac
Senior Member
Join Date: Nov 2008
Location: Florida
Plugin ID:
941
Plugin Version:
Plugin Category:
All
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Save teleports with names, each unique to the map it was created on.
    Old 06-15-2009 , 04:39   Teleport By Name
    Reply With Quote #1

    Description:
    Save teleports with names, each unique to the map it was created on.

    Installation
    Drag the .sp to the scripting folder, the .smx to the plugins folder, and the .txt to the data folder.

    Usage:
    Lets admins with custom flag 6 create teleports and teleport players based on the name. Each set of teleports is unique to the map it was created on, so a teleport created on one map won't work on another.

    Commands:
    sm_maketeleport <name> Creates a teleport with the given name, where the player stands.
    ex. sm_maketeleport "office 1"

    sm_teleport <player name> <teleport name> Teleports a player to a certain teleport.
    ex. sm_teleport "Alm" "office 1"

    sm_delteleport <name> Deletes a teleport from the data file.
    ex. sm_delteleport "office 1"

    sm_teleportinfo <name> Returns the location of a teleport.
    ex. sm_teleportinfo "office 1"

    Installation:
    Just drag the addons folder located inside the attachment to your game folder, and it will merge by itself.
    Attached Files
    File Type: sp Get Plugin or Get Source (teleportbyname.sp - 2602 views - 7.1 KB)
    File Type: txt telelocs.txt (176 Bytes, 1219 views)

    Last edited by Antithasys; 07-18-2009 at 19:22. Reason: updated descriptions
    almcaeobtac is offline
    crazydog
    AlliedModders Donor
    Join Date: Jan 2006
    Old 06-20-2009 , 02:53   Re: Teleport By Name
    Reply With Quote #2

    Sweet! I need something just like this, and I couldn't find a teleport plugin that let me teleport people to a specific location. The names+map restrictions just make it even better!

    Can you add @all support? I can put it in myself, but if you want to add it too I'm sure that would help other people. I've attached my modified version that supports sm_teleport @all <teleport name>

    This works fine in Left4Dead, but not in Synergy, and Synergy is where I really need it. That is more of a problem with Sourcemod and Synergy than your plugin though.

    Edit:
    got it working in synergy. In case anyone is interested I replaced sourcemod/gamedata/sdktools.games/game.synergy.txt with the one I've attached
    Attached Files
    File Type: txt game.synergy.txt (1.2 KB, 504 views)
    File Type: sp Get Plugin or Get Source (teleportbyname.sp - 1423 views - 7.6 KB)

    Last edited by crazydog; 06-21-2009 at 12:21.
    crazydog is offline
    almcaeobtac
    Senior Member
    Join Date: Nov 2008
    Location: Florida
    Old 06-20-2009 , 11:49   Re: Teleport By Name
    Reply With Quote #3

    Alright cool, glad to see it works
    almcaeobtac is offline
    decaprime
    Junior Member
    Join Date: Jun 2006
    Old 06-21-2009 , 10:02   Re: Teleport By Name
    Reply With Quote #4

    Thanks for this, it works well. Not sure how useful it would be on normal game modes but on specialized game modes like jump/surf its great to have.
    decaprime is offline
    almcaeobtac
    Senior Member
    Join Date: Nov 2008
    Location: Florida
    Old 06-21-2009 , 10:29   Re: Teleport By Name
    Reply With Quote #5

    Im currently working on a list function for it, so you can see a list of all the teleports.
    __________________
    almcaeobtac is offline
    Antithasys
    Moderator
    Join Date: Apr 2008
    Old 07-08-2009 , 05:38   Re: Teleport By Name
    Reply With Quote #6

    .rar files are not supported and no plugins with .rar files posted will be approved.

    Please correct and it will be approved.
    __________________
    [my plugins]

    When you think about asking a question... consider what have you tried?
    Antithasys is offline
    almcaeobtac
    Senior Member
    Join Date: Nov 2008
    Location: Florida
    Old 07-09-2009 , 00:35   Re: Teleport By Name
    Reply With Quote #7

    Well there's the problem, I can't make .zips..
    __________________
    almcaeobtac is offline
    Sexual Harassment Panda
    Veteran Member
    Join Date: Dec 2008
    Location: San Diego, CA
    Old 07-09-2009 , 16:44   Re: Teleport By Name
    Reply With Quote #8

    ooh sweet. Time to make jail areas on all my maps.
    __________________
    Sexual Harassment Panda is offline
    crazydog
    AlliedModders Donor
    Join Date: Jan 2006
    Old 07-10-2009 , 06:30   Re: Teleport By Name
    Reply With Quote #9

    Quote:
    Originally Posted by almcaeobtac View Post
    Well there's the problem, I can't make .zips..
    Are you not running windows?
    If you are running windows, you can make anything a zip file.

    Right click, send to, "Compressed (zipped) folder"

    If you are runing Linux, just install "zip" using something such as

    apt-get install zip
    or
    yum install zip
    or similar.
    crazydog is offline
    almcaeobtac
    Senior Member
    Join Date: Nov 2008
    Location: Florida
    Old 07-10-2009 , 10:37   Re: Teleport By Name
    Reply With Quote #10

    I am on windows, but I have lost the ability to extract or make .zips. I'll try though
    __________________
    almcaeobtac is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 16:09.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode