Raised This Month: $102 Target: $400
 25% 

[ANY] Beam me up, Scotty (teleport) (v1.2, 2012-05-31)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
sinsic
Senior Member
Join Date: May 2012
Plugin ID:
2979
Plugin Version:
v1.2
Plugin Category:
Admin Commands
Plugin Game:
Any
Plugin Dependencies:
Servers with this Plugin:
18 
Plugin Description:
teleport a player to another player or to you
Old 05-30-2012 , 06:31   [ANY] Beam me up, Scotty (teleport) (v1.2, 2012-05-31)
Reply With Quote #1

THIS PLUGIN IS NO LONGER MAINTAINED
  • Description
Admin command which lets you teleport a player to another player or to yourself.
Plugin only allows to be teleported to an alive person and only an alive person can be teleported. (That was an interesting sentence to write.. lol )

It was a side product of my other project so its quite simple. I don't know if there is something like this but I couldn't find it..

  • Usage
sm_beammeup <target name> <teleporter name> //Teleports <teleporter name> to <target name>'s location.
sm_beamtome <teleporter name> //Teleports <teleporter name> to your location.
  • Admin Menu;
Keeping in mind the Star Trek reference, this is what I use in my adminmenu_custom.cfg;
Code:
  
  "Beam me up"
  {
   "admin" "sm_admin"
   "cmd"  "sm_beammeup #1 #2"
   "execute" "player"
   "1"
   {
    "type"  "player"
    "method" "name"
    "title"  "Enterprise"
   }
   "2"
   {
    "type"  "player"
    "method" "name"
    "title"  "Cpt. Kirk"
   }
  }
  "Beam him to me"
  {
   "admin" "sm_admin"
   "cmd"  "sm_beamtome #1"
   "execute" "player"
   "1"
   {
    "type"  "player"
    "method" "name"
    "title"  "Cpt. Kirk"
   }
  }
Enterprise being the target and
Cpt. Kirk being the one to be teleported.
  • Changelog
    • v1.2, 2012-05-31
      • Trimmed the "PrintToChatAll" tags.
      • Corrected it as for all games.
    • v1.1, 2012-05-30
      • added teleport to me option
    • v1.0, 2012-05-30
      • * Initial release.
  • Dependencies
NoBlock Plugin
  • Confession;
I'm new to sourcemod so I don't know if this works with other games but I'm using it with CS:S and CS:GO without problems.
Hope it will be useful..
Live long and prosper!
Attached Files
File Type: sp Get Plugin or Get Source (sm_beammeup.sp - 1319 views - 2.7 KB)
__________________

Last edited by sinsic; 12-29-2018 at 15:48.
sinsic is offline
angel635
Senior Member
Join Date: Apr 2011
Old 05-30-2012 , 17:22   Re: [CS:S] Beam me up, Scotty (v1.1, 2012-05-30)
Reply With Quote #2

erreur log :

Code:
L 05/30/2012 - 23:19:15: SourceMod error session started
L 05/30/2012 - 23:19:15: Info (map "de_dust2") (file "errors_20120530.log")
L 05/30/2012 - 23:19:15: [SM] Native "ShowVGUIPanel" reported: Client index 0 is invalid
L 05/30/2012 - 23:19:15: [SM] Displaying call stack trace for plugin "usb_stream.smx":
L 05/30/2012 - 23:19:15: [SM]   [0]  Line 531, /groups/sourcemod/compiler-1.4/include/halflife.inc::ShowMOTDPanel()
L 05/30/2012 - 23:19:15: [SM]   [1]  Line 55, /home/groups/alliedmodders/forums/files/1/5/5/3/0/0/101737.attach::Radio()
Oups erreur désolé ^^

Last edited by angel635; 06-06-2012 at 17:49.
angel635 is offline
MasterOfTheXP
Veteran Member
Join Date: Aug 2011
Location: Cloudbank
Old 05-30-2012 , 17:33   Re: [CS:S] Beam me up, Scotty (v1.1, 2012-05-30)
Reply With Quote #3

Your tags are a little long (in the PrintToChatAll) but I don't see how this wouldn't work outside of CS:S.

Quote:
Originally Posted by angel635 View Post
Code:
"usb_stream.smx"
That looks like a different plugin.
__________________
Plugins / My Steam / TF2 Sandbox (plugin beta testing!)
MasterOfTheXP is offline
sinsic
Senior Member
Join Date: May 2012
Old 05-30-2012 , 19:10   Re: [CS:S] Beam me up, Scotty (v1.1, 2012-05-30)
Reply With Quote #4

Quote:
Originally Posted by angel635 View Post
erreur log :

Code:
L 05/30/2012 - 23:19:15: SourceMod error session started
L 05/30/2012 - 23:19:15: Info (map "de_dust2") (file "errors_20120530.log")
L 05/30/2012 - 23:19:15: [SM] Native "ShowVGUIPanel" reported: Client index 0 is invalid
L 05/30/2012 - 23:19:15: [SM] Displaying call stack trace for plugin "usb_stream.smx":
L 05/30/2012 - 23:19:15: [SM]   [0]  Line 531, /groups/sourcemod/compiler-1.4/include/halflife.inc::ShowMOTDPanel()
L 05/30/2012 - 23:19:15: [SM]   [1]  Line 55, /home/groups/alliedmodders/forums/files/1/5/5/3/0/0/101737.attach::Radio()

Hi, it compiled without any problems. As MasterOfTheXP pointed out that is another plugin.


Quote:
Originally Posted by MasterOfTheXP View Post
Your tags are a little long (in the PrintToChatAll) but I don't see how this wouldn't work outside of CS:S.


Thank you for the feedback.
This was my first plugin so I was a little protective of it I guess
I'll shorten it.
__________________

Last edited by sinsic; 06-01-2012 at 02:47.
sinsic is offline
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 14:11.


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