Wyświetl pełny artykuł
Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Guest Message by DevFuse
[CS:S] Beam me up, Scotty (v1.0, 2012-05-30)
Temat rozp. Adminek AMXX.PL, 30.05.2012 11:31
Brak odpowiedzi do tego tematu
#1
Napisano 30.05.2012 11:31
Admin command which lets you teleport a player to another player.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 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" } }Enterprise being the target andCpt. Kirk being the one to be teleported. 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 without problems. Hope it will be useful..Live long and prosper! Attached Files Get Plugin or Get Source (sm_beammeup.sp - 1.4 KB)
Wyświetl pełny artykuł
Wyświetl pełny artykuł
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych