Executing FakeClient comands
Hi again
dllfunc (DLLFunc_ClientCommand, pClient) How to pass a command in ClientCommand? %) |
Re: Executing FakeClient comands
The "DLLFunc_ClientCommand" is just the forward, called when a player uses a client command.
To execute a command on a client, there's: "client_cmd(id,"COMMAND");" |
Re: Executing FakeClient comands
Quote:
Quote:
|
Re: Executing FakeClient comands
Okay for one. Your original question makes no sense. And what you just said again make no sense.
|
Re: Executing FakeClient comands
ClientCommand is a MOD function called by Engine when client passes command in console.
register_forward (FM_ClientCommand, "ClientCommand", 0) // Hook of ClientCommand dllfunc (DLLFunc_ClientCommand, pClient) // Call of ClientCommand Correct me if I'm wrong. I don't need to execute a command on a client, I need to execute a command as client. Fake clients don't have network connection to server... so client_cmd can't do... engclient_cmd on description exactly that function which I search but she for some reason does not work with "menuselect" |
Re: Executing FakeClient comands
Bots doesn't have menus(?)
|
Re: Executing FakeClient comands
From POD Bot:
FakeClientCommand (pBot->pEdict, "menuselect %d\n", pBot->bot_team); FakeClientCommand call MDLL_ClientCommand... params must be in argc,argv so it's unposible to use that function =( I think it's time to program for metamod... it's more powerfull |
Re: Executing FakeClient comands
May be this could help you : http://forums.space-headed.net/viewtopic.php?t=131
|
Re: Executing FakeClient comands
w0w
tnx |
Re: Executing FakeClient comands
Quote:
After all a bot is a player, just controlled server-side that's all. |
| All times are GMT -4. The time now is 11:00. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.