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