Skip to forum content

You are not logged in. Please login or register.


forums.pvpgn.pro → [EN] The Source Code → how to insert command

Pages 1

You must login or register to post a reply

RSS topic feed

Posts: 8

1

Topic: how to insert command

i want to ask, how to insert command in command.cpp into another .cpp ?

example:
i want to insert handle_channels_command from command.cpp to handle_bnet.cpp

how to insert that?

thanks

2

Re: how to insert command

what do you gain by doing this?

3 (edited by Zeloit 27.01.2014 09:41)

Re: how to insert command

handle_channels not work in handle_bnet.cpp

you have make conn_set_channel, account_get/set..., massge_send...., channel_massage_send....etc << example from connection.cpp to hadle_bnet.cpp
ex: open channel.cpp, you can find this word

4

Re: how to insert command

hmm, i want ask another questions..

how to make if someone join a game room, he will automatically send /ping command?

is it possible?

5

Re: how to insert command

Jimmy_Aquarius wrote:

hmm, i want ask another questions..

how to make if someone join a game room, he will automatically send /ping command?

is it possible?

very2 possible
find client_joingame

6

Re: how to insert command

how to insert the command?
_handle_ping_command(c,text) ?

i have tried this but did not work

7

Re: how to insert command

use conn_get_latency(t_connection)

8

Re: how to insert command

Suite wrote:

use conn_get_latency(t_connection)

like this

Added: 27.01.2014 22:32

Jimmy_Aquarius wrote:

how to insert the command?
_handle_ping_command(c,text) ?

i have tried this but did not work

-_-

Posts: 8

Pages 1

You must login or register to post a reply

Who now at forum

Currently view post: 1 guest, 0 registered users

forums.pvpgn.pro → [EN] The Source Code → how to insert command



Generated in 0.078 seconds (81% PHP - 19% DB) with 20 queries