EOSERV Forum > Lounge > warp commands
Topic is locked.
Page: << 1 >>
warp commands
Author Message
Post #70539 warp commands

ok so i wanted to make a warp command but idk where to find the Talk.cpp file and idk how to open. help!

Syran:

K, this is the first simplified warp I ever made for admins. Its $aeven,and all you need to do is put this in your Talk.cpp under the admin command declare.

 else if (command.length() >= 5 &&command.compare(0,5,"aeven") == 0 && arguments.size() >= 0 && this->player->character->admin >= static_cast<int>(admin_config["aeven"]))
  {
  int map;
  int x;
  int y;
  map = 5;
  x = 41;
  y = 47;
  {
  {
  this->player->character->Warp(map, x, y,WARP_ANIMATION_ADMIN);

  }
  break;
  }
  }

And you can use that template to make any other admin custom warps youwould want to make.

---
~~ When life give you pasta, you eat it ~~
14 years, 13 weeks ago
Post #70557 Re: warp commands

Use the form search button and you'll find a finished released working warp command. :/ And you must it at the player commands #

14 years, 13 weeks ago
Post #70586 Re: warp commands

You open talk.cpp in codeblocks.

14 years, 13 weeks ago
Post #70589 Re: warp commands
perfect posted: (27th Mar 2011 10:39 pm)

You open talk.cpp in codeblocks.


You saved me the trouble of asking this question myself :) 
Win!!

Thanks ;D
14 years, 13 weeks ago
Page: << 1 >>
Topic is locked.
EOSERV Forum > Lounge > warp commands