Author Topic: Teleport "hack"  (Read 6119 times)

0 Members and 1 Guest are viewing this topic.

Offline MR-93

  • Major(1)
  • Posts: 15
Teleport "hack"
« on: May 05, 2008, 01:13:27 pm »
Script Name: Teleport "hack"
Script Description: Teleports you to right, left, up, down and center of map
/tele >  - Right
/tele <  - Left
/tele ^  - Up
/tele v  - Down
/tele 0  - Center of map
Original Author(s): MR-93
Core Version: 2.6.3
Code:
Code: [Select]
// Tele"hack" by MR-93
function OnCommand(ID: Byte; Text: string): boolean;
begin
if Text = '/tele >' then MovePlayer(ID,GetPlayerStat(ID,'x')+200,GetPlayerStat(ID,'y')-1);
if Text = '/tele <' then MovePlayer(ID,GetPlayerStat(ID,'x')-200,GetPlayerStat(ID,'y')-1);
if Text = '/tele ^' then MovePlayer(ID,GetPlayerStat(ID,'x')+1,GetPlayerStat(ID,'y')-200);
if Text = '/tele v' then MovePlayer(ID,GetPlayerStat(ID,'x')+1,GetPlayerStat(ID,'y')+200);
if Text = '/tele 0' then MovePlayer(ID,0,0);
Result := false;
end;
« Last Edit: February 22, 2009, 06:35:05 pm by MR-93 »

Offline danmer

  • Camper
  • ***
  • Posts: 466
  • crabhead
Re: Teleport "hack"
« Reply #1 on: May 05, 2008, 01:40:44 pm »
and how is this useful?

Offline Bloo

  • Soldier
  • **
  • Posts: 105
  • Yellow
    • BlueMutiny.com
Re: Teleport "hack"
« Reply #2 on: May 05, 2008, 02:29:32 pm »
and how is this useful?

And how was your post useful?

Thanks for the code, MR. Will help a bit in some stuff I'm working on. :]

Offline frosty

  • Flagrunner
  • ****
  • Posts: 601
  • Uber Desert Eagle ^^
Re: Teleport "hack"
« Reply #3 on: May 06, 2008, 01:49:34 am »
very nice, i really like it, it lets me destroy the map im in, right from the middle, ehehe

hope this answers your question danmer
« Last Edit: May 06, 2008, 01:52:03 am by frosty »
check out my server! click here

If at first you don't succeed, Improvise! :D

Offline Th3_Th1ng

  • Major(1)
  • Posts: 5
  • lets hug medkits :p wheres teh lav?
Re: Teleport "hack"
« Reply #4 on: June 12, 2008, 04:04:51 am »
thanks MR this is VEEERY useful in our little project :D
I think ppl knows me as Th3 Th1ng

You are just an object, i control you.

If you feel like insulted, tell it to hand. Hand will listen you.

Offline dragus

  • Major(1)
  • Posts: 23
Re: Teleport "hack"
« Reply #5 on: November 11, 2008, 05:31:46 am »
where i must put code?
« Last Edit: November 11, 2008, 03:51:57 pm by dragus »

Offline |_ancer

  • Soldier
  • **
  • Posts: 153
  • again and again.
Re: Teleport "hack"
« Reply #6 on: January 06, 2009, 10:30:34 pm »
lol bloo. dragus put the code in your dedicated server scripts.

Offline SpiltCoffee

  • Veteran
  • *****
  • Posts: 1579
  • Spilt, not Split!
    • SpiltCoffee's Site
Re: Teleport "hack"
« Reply #7 on: January 07, 2009, 12:55:48 am »
and how is this useful?
For admin "abuse" :P
When life hands you High Fructose Corn Syrup, Citric Acid, Ascorbic Acid, Maltodextrin, Sodium Acid Pyrophosphate,
Magnesium Oxide, Calcium Fumarate, Yellow 5, Tocopherol and Less Than 2% Natural Flavour... make Lemonade!

Offline shantec

  • Soldier
  • **
  • Posts: 140
  • Get ANGREH!!
Re: Teleport "hack"
« Reply #8 on: January 07, 2009, 07:45:22 am »
Quote
« Reply #5 on: November 11, 2008, 12:31:46 pm »

where i must put code?

Lancer next time look at post date ;)
Also Known As REIMA


Lol Happles (happy apples)

Offline frosty

  • Flagrunner
  • ****
  • Posts: 601
  • Uber Desert Eagle ^^
Re: Teleport "hack"
« Reply #9 on: January 07, 2009, 05:12:48 pm »
check out my server! click here

If at first you don't succeed, Improvise! :D

Offline Drax

  • Soldier
  • **
  • Posts: 241
Re: Teleport "hack"
« Reply #10 on: March 02, 2014, 03:59:40 am »
I know this is old, but I like it and I need it... I would like to ask for a fix, I can get in texture... please make fixed copy, thank you!

Offline skrX

  • Soldier
  • **
  • Posts: 112
  • x ye.
Re: Teleport "hack"
« Reply #11 on: March 02, 2014, 05:01:18 pm »
I know this is old, but I like it and I need it... I would like to ask for a fix, I can get in texture... please make fixed copy, thank you!

Like this?
« Last Edit: March 02, 2014, 05:21:05 pm by skrX »

Offline Drax

  • Soldier
  • **
  • Posts: 241
Re: Teleport "hack"
« Reply #12 on: March 02, 2014, 06:15:11 pm »
Quote
Like this?

but in this command that you gave link to... you have to add ID of the player(is your ID constant? I am new to all of this scripting/modding), so it's different, because tele hack will be as a skill for everyone in my server and Moveplayer would allow any player to move others (but this link/command is another thing I will use). thanks
« Last Edit: March 02, 2014, 06:18:29 pm by Drax »