CLEO Help Blocking a function in SAMP Client side

CLEO related
Status
Not open for further replies.

dreadzone

New member
Joined
Mar 22, 2015
Messages
4
Reaction score
0
Hi!
I want to block the calls of "CPlayerPed::SetArmedWeapon" in SAMP client side or disallow "01B9" opcode execution for SAMP.
How can i do that? Can someone help me out please?
Thanks.
 

0x32789

Expert
Joined
May 26, 2014
Messages
849
Reaction score
52
Location
LongForgotten <-> 0x32789
dreadzone said:
Hi!
I want to block the calls of "CPlayerPed::SetArmedWeapon" in SAMP client side or disallow "01B9" opcode execution for SAMP.
How can i do that? Can someone help me out please?
Thanks.
raknet magic bro but there are more ways I "THINK" like stopping the code from calling in setarmedweapon but the one I would use is raknet one since it would be easy for me, its upto you if you wanna use CLEO or C++ but this is how you do it:
get raknet interface of samp connection
catch incoming packets and rpc's
check if the data was rpc
if data was rpc check what is RPC id, make sure its the RPC id of setarmedweapon
if it is then check if hack is enabled
if hack is enabled then call a return and cancel the RPC from calling
 
Status
Not open for further replies.
Top