Post: Help SV_ExecuteClientCommand
06-14-2017, 06:00 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Hello, I try to code it but when I use it I freeze
(0x00182DEC - Sv_ExecuteClientCommand (client_s * cl, const char * s, int clientOK))

I try with code but it does not work I freeze

    

public static void Sv_ExecuteClientCommand(int client, string command, int clientOK)
{
mw3R.Call(0x182DEC, client, command, clientOK);
}


Is it possible that someone helps me to code it well?
06-17-2017, 11:25 PM #2
50 view and nobody to help me? :/
06-21-2017, 01:29 PM #3
No one to help me?
06-22-2017, 02:09 AM #4
makeabce
I defeated!
Originally posted by tobi59320 View Post
Hello, I try to code it but when I use it I freeze
(0x00182DEC - Sv_ExecuteClientCommand (client_s * cl, const char * s, int clientOK))

I try with code but it does not work I freeze

    

public static void Sv_ExecuteClientCommand(int client, string command, int clientOK)
{
mw3R.Call(0x182DEC, client, command, clientOK);
}


Is it possible that someone helps me to code it well?


Do it like this:
    
public uint Client_s(int client) {
return 0x17BB210 + ((uint)client * 0x68B80);
}
public static void Sv_ExecuteClientCommand(int client,string command,int clientOK) {
RPC.Call(0x182DEC,Client_s(client),command,clientOK);
}

Also, the address might be wrong,not sure. What you trying to do anyway? :O
06-22-2017, 01:31 PM #5
I will try the result you give me is almost the one I got. To make spawn bots
06-22-2017, 08:33 PM #6
When I use it freeze
Here is an example in C ++ that works(for MW2)

    opd_s SV_ECCF = { 0x00215310, TOC };
typedef void(*SV_ExecuteClientCommand_t)(void *cl, const char *s, int clientOK, int);
SV_ExecuteClientCommand_t SV_ExecuteClientCommand = (SV_ExecuteClientCommand_t)(opd_s*)&SV_ECCF;

SV_ExecuteClientCommand((void*)(*(int*)0x34740000 + (0x97F80 * Bot)), "mr 16 3 autoassign", 1, 0);
08-11-2017, 10:20 AM #7
The Address for ExecuteClientCommand is (0x0022817Cool Man (aka Tustin) SV_ExecuteClientCommand_client_s__cl__const_char__s__int_clientOK_
08-11-2017, 10:20 AM #8
It works :/

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo