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

Simple Teleport


Post New Thread Reply   
 
Thread Tools Display Modes
Author
omghax
Member
Join Date: Dec 2005
Location: eth0
Plugin ID:
126
Plugin Version:
1.1
Plugin Category:
Fun Stuff
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Teleports a user to a saved location.
    Unapprover:
    Reason for Unapproving:
    Unfixed errors for years. Superceded by http://forums.alliedmods.net/showthread.php?t=118215
    Old 08-10-2007 , 05:26   Simple Teleport
    Reply With Quote #1

    I promised myself if I actually got this working I'd post it, seeing as I didn't find anything when searching for it.

    Commands:
    sm_saveloc -- saves location (for teleporting)
    sm_teleport <#userid|name> -- teleports to saved location

    Simple,


    P.S. I used basecommands.sp for a base file to work off of.

    Changelog
    Code:
    1.0
     -- Initial Release
    1.1
     !! Fixed language error (forgot to add it)
     ++ Added teleport_super.sp, with sm_tele instead of sm_teleport (for SM Super Commands)
    Attached Files
    File Type: sp Get Plugin or Get Source (teleport_super.sp - 3392 views - 1.3 KB)
    File Type: sp Get Plugin or Get Source (teleport.sp - 2995 views - 1.3 KB)
    __________________
    Quote:
    George Carlin: Reminds me of something my grandfather used to say. He used to say "I'm going upstairs and fuck your grandmother." Well, he was an honest guy, you know? He wasn't going to lie to a little kid.

    Last edited by omghax; 08-30-2007 at 06:11. Reason: 1.1 release
    omghax is offline
    Send a message via AIM to omghax Send a message via MSN to omghax Send a message via Yahoo to omghax Send a message via Skype™ to omghax
    Rebell
    Veteran Member
    Join Date: Nov 2004
    Location: GERMANY
    Old 08-10-2007 , 08:44   Re: Simple Teleport
    Reply With Quote #2

    Shoulde be in Sourcemod standart funcommands ^^


    cya
    __________________
    Rebell is offline
    XmINiX
    Senior Member
    Join Date: Nov 2006
    Location: Your basement
    Old 08-10-2007 , 16:14   Re: Simple Teleport
    Reply With Quote #3

    Very good....
    Taco you should liek make a menu for it... like amxx teleportmenu... Just a cool suggestion....
    __________________
    +Karma me if i am helpful!
    XmINiX is offline
    Send a message via AIM to XmINiX Send a message via MSN to XmINiX Send a message via Yahoo to XmINiX
    omghax
    Member
    Join Date: Dec 2005
    Location: eth0
    Old 08-10-2007 , 17:47   Re: Simple Teleport
    Reply With Quote #4

    Quote:
    Originally Posted by XmINiX View Post
    Very good....
    Taco you should liek make a menu for it... like amxx teleportmenu... Just a cool suggestion....
    I was already thinking about that, but I need to get familiar with menu's in Source now.
    __________________
    Quote:
    George Carlin: Reminds me of something my grandfather used to say. He used to say "I'm going upstairs and fuck your grandmother." Well, he was an honest guy, you know? He wasn't going to lie to a little kid.
    omghax is offline
    Send a message via AIM to omghax Send a message via MSN to omghax Send a message via Yahoo to omghax Send a message via Skype™ to omghax
    pRED*
    Join Date: Dec 2006
    Old 08-10-2007 , 17:59   Re: Simple Teleport
    Reply With Quote #5

    Just as a note I've already used 'sm_teleport' as a command in SM Super Commands.. Might cause conflicts for people wanting to use both (they way they work is slightly different..)
    pRED* is offline
    omghax
    Member
    Join Date: Dec 2005
    Location: eth0
    Old 08-11-2007 , 06:37   Re: Simple Teleport
    Reply With Quote #6

    Quote:
    Originally Posted by pRED* | NZ View Post
    Just as a note I've already used 'sm_teleport' as a command in SM Super Commands.. Might cause conflicts for people wanting to use both (they way they work is slightly different..)
    Did you just recently add it?
    __________________
    Quote:
    George Carlin: Reminds me of something my grandfather used to say. He used to say "I'm going upstairs and fuck your grandmother." Well, he was an honest guy, you know? He wasn't going to lie to a little kid.
    omghax is offline
    Send a message via AIM to omghax Send a message via MSN to omghax Send a message via Yahoo to omghax Send a message via Skype™ to omghax
    J@y-R
    Senior Member
    Join Date: Jan 2007
    Location: Hamburg (Germany)
    Old 08-27-2007 , 06:39   Re: Simple Teleport
    Reply With Quote #7

    hello
    i find this in my sourcemod logs!!!

    Code:
    L 08/27/2007 - 03:03:19: [SM] Plugin encountered error 4: Invalid parameter or parameter type
    L 08/27/2007 - 03:03:19: [SM] Native "ReplyToCommand" reported: Language phrase "No matching client" not found
    L 08/27/2007 - 03:03:19: [SM] Displaying call stack trace for plugin "teleport.smx":
    L 08/27/2007 - 03:03:19: [SM]   [0]  Line 199, C:\Documents and Settings\Taco\Desktop\sourcemod-r1256\addons\sourcemod\scripting\include\helpers.inc::FindTarget()
    L 08/27/2007 - 03:03:19: [SM]   [1]  Line 44, teleport.sp::Teleport_User()
    linux
    sourcemod 138
    J@y-R is offline
    Send a message via ICQ to J@y-R Send a message via MSN to J@y-R
    sslice
    Senior Member
    Join Date: Feb 2005
    Location: Texas, USA
    Old 08-28-2007 , 19:47   Re: Simple Teleport
    Reply With Quote #8

    Nice, good for users looking for mani functionality.
    __________________
    sslice is offline
    spelworm
    Senior Member
    Join Date: Mar 2007
    Old 08-29-2007 , 13:34   Re: Simple Teleport
    Reply With Quote #9

    i tried this and it seemed that only 1 admin at the time could use teleport (could also be because i ripped the plugin a bit so tell me if im wrong here)

    if i made teleport location then other admin made 1 to then i used sm_teleport <player> then it came at the teleport location of the other admin can ya make it so every admin has his own teleport location ?
    spelworm is offline
    omghax
    Member
    Join Date: Dec 2005
    Location: eth0
    Old 08-30-2007 , 06:01   Re: Simple Teleport
    Reply With Quote #10

    Bleh, I can't test it right now because no one's on but I fixed the language error.

    I'll work on the global problem when more admins are on.
    __________________
    Quote:
    George Carlin: Reminds me of something my grandfather used to say. He used to say "I'm going upstairs and fuck your grandmother." Well, he was an honest guy, you know? He wasn't going to lie to a little kid.
    omghax is offline
    Send a message via AIM to omghax Send a message via MSN to omghax Send a message via Yahoo to omghax Send a message via Skype™ to omghax
    Reply


    Thread Tools
    Display Modes

    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 09:40.


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