How to make weapon hack

TUTORIAL

Okay so this is what you do.
Open one of these in SannyBuilder.
You should get something like this.

Code:
// This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007

{$VERSION 3.1.0027}
{$CLEO .cs}

//-------------MAIN---------------
thread 'GIVE_WEAPON' 
jump @GIVE_WEAPON_26 

:GIVE_WEAPON_26
wait 0 
if 
0AB0:   key_pressed 49 
else_jump @GIVE_WEAPON_26 
jump @GIVE_WEAPON_52 

:GIVE_WEAPON_52
wait 0 
Model.Load(#MINIGUN)
if 
   Model.Available(#MINIGUN)
else_jump @GIVE_WEAPON_52 
01B2: give_actor $PLAYER_ACTOR weapon 38 ammo 250 // Load the weapon model before using this 
wait 100 
jump @GIVE_WEAPON_26

If you want to change what weapon it gives you first you have to change the weapon object ID (The ID's are all listed below)
Find this line:
Code:
Model.Available(#MINIGUN)
and
Code:
Model.Load(#MINIGUN)
Where is says "MINIGUN" Put in the weapon object ID that you wish.

Now, you have to edit the weapon ID which is in this line:

Code:
01B2: give_actor $PLAYER_ACTOR weapon 31 ammo 250 // Load the weapon model before using this

Where is says "Weapon 31" 31 is your weapon ID. (They are also listed below, the weapon object ID and weapon ID's aren't the same, so just read them all below)
What you have to do it find the weapon ID of the Model ID that you put in)
EG: You wanted brass knuckles, the object ID is: 231.
So the Weapon ID is: 1.

Make sure you don't put the object ID and weapon ID from 2 different weapons or this won't work.
You can change the activation key with this line:
Code:
0AB0:   key_pressed 50
There are virtual keys for every number. 50=2. I have them all listed in another topic. (Or just google them)

Now, when you are done editing this, Click the running man up the top. Or click F6. This will compile the script.
You can now close SannyBuilder. Your new weapon hack should be in the folder that you had the script you edited in.
Copy and paste into your CLEO folder.
Open your game, press the activation key and, well. Magic happens.

This has to be one of the easiest cleo scripts to make, so don't get this wrong :D :D:D

_______________________________________________________________________________________________




Not that exciting, I think anyone should be able to do it.


OBJECT MODEL ID'S -
Brass Knuckles: 231 
Gold Club: 333
Nightstick: 334
Knife: 335
Baseball Bat: 336
Shovel: 337
Pool Cue: 338
Katana: 339
Chainsaw: 341
Double-ended Dildo (You love it): 321
Dildo: 322
Vibrator: 323
Silver Vibrator: 324
Flowers: 325
Cane: 326
Grenade: 342
Tear Gas: 343
Molotov Cocktail: 344
9mm: 346
Silenced 9mm: 347
Desert Eagle: 348
Shotgun: 349
Sawnoff Shotgun: 350
Combat Shotgun: 351
Micro SMG/Uzi: 352
MP5: 353
AK-47: 355
M4: 356
Tec-9: 372
Country Rifle: 357
Sniper: 358
RPG: 359
HS Rocket: 360
Flame thrower: 361
Minigun: 362
Satchel Charge: 363
Detonator (For satchel charge): 364
Spray Can: 365
Fire extinguisher: 366
Camera: 367
Night Vision Goggles: 368
Thermal Goggles: 369
Parachute: 371

_______________________________________________________________________________________________

WEAPON ID'S:
Brass Knuckles: 1
Gold Club: 2
Nightstick: 3
Knife: 4
Baseball Bat: 5
Shovel: 6
Pool Cue: 7
Katana: 8
Chainsaw: 9
Double-ended Dildo (You love it): 10
Dildo: 11
Vibrator: 12
Silver Vibrator: 13
Flowers: 14
Cane: 15
Grenade: 16
Tear Gas: 17
Molotov Cocktail: 18
9mm: 22
Silenced 9mm: 23
Desert Eagle: 24
Shotgun: 25
Sawnoff Shotgun: 26
Combat Shotgun: 27
Micro SMG/Uzi: 28
MP5: 29
AK-47: 30
M4: 31
Tec-9: 32
Country Rifle: 33
Sniper: 34
RPG: 35
HS Rocket: 36
Flame thower: 37
Minigun: 38
Satchel Charge: 39
Detonator (For satchel charge): 40
Spray Can: 41
Fire extinguisher: 42
Camera: 43
Night Vision Goggles: 44
Thermal Goggles: 45
Parachute: 46





 

Attachments

  • MINIGUN_KEY_1.zip
    6.2 KB · Views: 166
  • M4_KEY_2.zip
    6.2 KB · Views: 183
  • GRENADE_KEY_3.zip
    6.2 KB · Views: 108
  • COMBAT_SHOTGUN_KEY_4.zip
    6.3 KB · Views: 203

Killa

New member
Joined
Aug 2, 2013
Messages
4
Reaction score
0
Re: Weapon Hacks + tutorial

Work on RPG servers?
 

Card_dealer

Member
Joined
Aug 2, 2013
Messages
5
Reaction score
0
Re: Weapon Hacks + tutorial

THANK YOU! I was looking everywhere for the weapon list. Finally. I had no luck at the Samp wiki :? :?:?
 

steez

Member
Joined
Jun 20, 2013
Messages
5
Reaction score
0
Re: Weapon Hacks + tutorial

More of this tutorial please.
 

jhonDoe

Active member
Joined
Aug 24, 2013
Messages
44
Reaction score
0
Re: Weapon Hacks + tutorial

can any 1 tell me its undetectable on Rpg serves ?
 

CowsAreVegan

Active member
Joined
Apr 8, 2013
Messages
54
Reaction score
0
Re: Weapon Hacks + tutorial

Every RPG server is different and has different anti-cheats so your best choice is to test it safely on the server you play. (Change your IP or something)
 

kudo

New member
Joined
Jan 28, 2015
Messages
3
Reaction score
0
yy541ms.png

Help me
 
Top