File tree Expand file tree Collapse file tree 3 files changed +18
-8
lines changed
Expand file tree Collapse file tree 3 files changed +18
-8
lines changed Original file line number Diff line number Diff line change 11{
22 "meta": {
3- "last_update": 1764618267194 ,
4- "version": "0.122 ",
3+ "last_update": 1769952883233 ,
4+ "version": "0.123 ",
55 "url": "https://library.sannybuilder.com/#/sa"
66 },
77 "extensions": [
@@ -154178,20 +154178,18 @@
154178154178 }
154179154179 },
154180154180 {
154181- "name": "0x6D24F0",
154182- "num_params": 1,
154183154181 "input": [
154184154182 {
154185154183 "name": "self",
154186154184 "type": "CVehicle"
154187154185 }
154188154186 ],
154187+ "name": "0x6D24F0",
154188+ "num_params": 1,
154189154189 "class": "CVehicle",
154190154190 "member": "ActivateBomb",
154191154191 "cc": "thiscall",
154192- "attrs": {
154193- "_unverified": true
154194- }
154192+ "short_desc": "Activates bomb already installed in the vehicle"
154195154193 },
154196154194 {
154197154195 "name": "0x6D2570",
Original file line number Diff line number Diff line change 1- 0.122
1+ 0.123
Original file line number Diff line number Diff line change 1+ int carPtr = get_car_char_is_using $scplayer
2+ carPtr = get_vehicle_pointer {handle} carPtr
3+
4+ // install bomb
5+ int flags = read_memory_with_offset {address} carPtr {offset} 0x4A8 {size} 1 // CVehicle::m_nBombLightsWinchFlags
6+ flags &= 0xF8 // clear 3 lowest bits
7+ //flags |= 1 // 7 second delay bomb
8+ flags |= 2 // triggered on entry bomb
9+ write_memory_with_offset {address} carPtr {offset} 0x4A8 {size} 1 {value} flags // CVehicle::m_nBombLightsWinchFlags
10+
11+ // activete now
12+ CVehicle_ActivateBomb(carPtr)
You can’t perform that action at this time.
0 commit comments