AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] Beam me up, Scotty (teleport) (v1.2, 2012-05-31) (https://forums.alliedmods.net/showthread.php?t=186428)

sinsic 05-30-2012 06:31

[ANY] Beam me up, Scotty (teleport) (v1.2, 2012-05-31)
 
1 Attachment(s)
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!

angel635 05-30-2012 17:22

Re: [CS:S] Beam me up, Scotty (v1.1, 2012-05-30)
 
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é ^^

MasterOfTheXP 05-30-2012 17:33

Re: [CS:S] Beam me up, Scotty (v1.1, 2012-05-30)
 
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 (Post 1719705)
Code:

"usb_stream.smx"

That looks like a different plugin.

sinsic 05-30-2012 19:10

Re: [CS:S] Beam me up, Scotty (v1.1, 2012-05-30)
 
Quote:

Originally Posted by angel635 (Post 1719705)
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 (Post 1719719)
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 :D
I'll shorten it.


All times are GMT -4. The time now is 01:23.

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