Latest Forum Activity

GTAG - Downloads - CLEO Scripts - Bribery Mod

Bribery Mod

InformationScreenshot
DownloadDisclaimer: GTAG cannot be held responsible for any user submitted files.
Rating
TitleDownloadsFile sizeSubmitted
bribe.rar2786.88 KB29 Dec 2009
TitleBribery Mod
AuthorDeji
Games SA
Versionv1.0
SummaryJust a simple little thing that let's you bribe the police to leave you alone for a while... (Open Source)
Rating0 (0 votes)
Submitted29 Dec 2009
Updated25 Feb 2010

Description
This was requested on GTAForums in the requests topic.


This simple lil thang gives you the abillity to bribe the cops.

When you're wanted level is above 0, the mod will tell you that you can bribe the police with Ctrl+Yes - Simply press those keys to be charged $15,000 to be left alone for 15 minutes.

Your wanted level will not vanish though! Nope... You're wanted level will not dissapear, but cops will not try to arrest you either... Your wanted level will still decrease as normal meaning that if you have a six star wanted level, you might have to pay extra to be fully in the clear.

After 15 minutes cops will resume their attacks against you, unless your wanted level has gone down during the time they have been spending your cash smile.gif


Installation is simple, have CLEO3 installed and put it in your CLEO folder wink.gif


Source Code:


SANNY
// 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---------------
03A4: name_thread 'BRIBE'

:BRIBE
wait 0
01C0: 0@ = player $PLAYER_CHAR wanted_level
if
0029: 0@ >= 1
else_jump @BRIBE
jump @BRIBE_NEARBYCOPS

:BRIBE_NEARBYCOPS
wait 0
01C0: 0@ = player $PLAYER_CHAR wanted_level
if
0029: 0@ >= 1
else_jump @BRIBE
if
0039: 1@ == 1
0AA0: gosub_if_false @BRIBE_TEXT
0006: 1@ = 1
if and
0AB0: key_pressed 17
00E1: player 0 pressed_key 11
else_jump @BRIBE_NEARBYCOPS
01F7: set_player $PLAYER_CHAR ignored_by_cops 1
0109: player $PLAYER_CHAR money += -15000
0006: 33@ = 0
jump @BRIBE_TIME

:BRIBE_TIME
wait 0
if
0029: 33@ >= 900000 // 15 minutes.
else_jump @BRIBE_TIME
01F7: set_player $PLAYER_CHAR ignored_by_cops 0
jump @BRIBE

:BRIBE_TEXT
wait 0
0A9F: 2@ = current_thread_pointer
000A: 2@ += 0x10
0A8D: 2@ = read_memory 2@ size 4 virtual_protect 0
000E: 2@ -= @BRIBE_NOTIFY
000A: 2@ += 4
0AA5: call 0x588BE0 num_params 4 pop 4 0 0 0 2@
return

0A93: end_custom_thread

:BRIBE_NOTIFY
0900: unknown_set_object "Press Ctrl + Yes to bribe cops to leave you alone for a while."
0000: NOP