ballhead
Joined: 29th Aug 2009
Posts: 11
warping out of jail by using commands
i was wondering how to stop someone from using the command #warp (eg. #warp aeven) to get out of jail.
someone please help me with this problem thanks.
edit: i dont want to get discard the this command i just want to stop it from been used in jail and maze
Edit: yeah i knows :( i was reading in this section and found out could #warp in jail and went and posted straght away...
14 years, 36 weeks ago
|
Desmond
Joined: 7th Jun 2010
Posts: 2424
Re: warping out of jail by using commands
Disable it in your config.ini file?
---
I am an alien and not crazy!
14 years, 36 weeks ago
|
Nirion
Joined: 28th Jul 2009
Posts: 33
Re: warping out of jail by using commands
This worked for me, add this in your #warp command and change the second argument after you add this to an else if statement and you should be good.
if (this->player->character->mapid == static_cast<int>(this->server->world->config["JailMap"]))
{
break;
}
EDIT: Also wrong section :P
14 years, 36 weeks ago
| | |