Jump to content

c++ do_die


Braunwald
 Share

Recommended Posts

/kill [GM]Xpto - para testar algo... e novamente... /kill [GM]Xpto - para testar algo... e outra vez... /kill [GM]Xpto - para testar algo...

nah!

 

#### Srv/game/cmd.cpp

Spoiler
//	Search:
ACMD(do_vote_block_chat);

//	Add after:
ACMD(do_die);

//	Search:
	{ "vote_block_chat", do_vote_block_chat,		0,			POS_DEAD,	GM_PLAYER	},


//	Add after:
	{ "die",	do_die,	0,	POS_DEAD,	GM_IMPLEMENTOR	},

 

 

#### Srv/game/cmd_gm.cpp

Spoiler
//	Search:
ACMD(do_vote_block_chat)
{
	[....]
}

// 	Add after:
ACMD(do_die)
{
	ch->Dead();
}

 

 

ingame type:  /die   e o nosso morreu :D

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...