Welcome Guest [Log In] [Register]
Welcome to the Shop!

You're currently viewing our site as a guest, so some features you can't use... like the bubble gum machine. If you join our little cult, you'll be able to take advantage of many member-only features such as a 60 day free trial subscription to HighTimes - A chance to be chosen as a candidate to test the latest penis enlargement cream - A possibility to win a free lifetime supply of Kotex® Maxi-Pads to help with that "not so fresh" feeling - Running around with your pants down around your ankles yelling kiss my ass!!! and voting in polls. Registration is simple, fast, and completely free.

sO Click herE to join our Cwazy wHackd in the Head coMmunity!

If you're already a member, wtf you doin!? ffs log in already!




Username:   Password:
Locked Topic
[CLEO] Help; post CLEO problems here
Topic Started: Jul 29 2008, 12:12:10 AM (1,325 Views)
Threepwood
Member Avatar
CLEOticCHAOtic

You're funny. I am just doing stuff with trailer/cab.
But I can give only the opcodes, I am very busy, sorry.
Spawn Cab, after that spawn trailer.
Code:
 


0893: put_trailer 37@ on_cab 34@
07AC: detach_trailer 37@ from_cab 34@
07AB: trailer 334@ attached_to_cab 327@


For a better view how things work, I reccomend to download ZAZ's Trailer script from GTA-Action.com, he did the greatest job on it. Look at it, learning from the best is always a good thing.
Offline Profile Goto Top
 
Zombie91
Member Avatar

Hey homies,I need some help,
Does anyone know how to add new gas stations to this gas mod?
I use this code:

Code:
 
//-------------MAIN---------------
0000: NOP

:NONAME_2
0001: wait 0 ms
00D6: if and
0256: player $PLAYER_CHAR defined
0038: $ONMISSION == 0
004D: jump_if_false @NONAME_2
00D6: if and
00DF: actor $PLAYER_ACTOR driving
84A7: not actor $PLAYER_ACTOR driving_boat
84A9: not actor $PLAYER_ACTOR driving_heli
84AB: not actor $PLAYER_ACTOR driving_plane
84C8: not actor $PLAYER_ACTOR driving_flying_vehicle
89AE: not actor $PLAYER_ACTOR driving_train
004D: jump_if_false @NONAME_2
00D6: if and
80DD: not actor $PLAYER_ACTOR driving_car_with_model #BMX
80DD: not actor $PLAYER_ACTOR driving_car_with_model #BIKE
80DD: not actor $PLAYER_ACTOR driving_car_with_model #MTBIKE
80DD: not actor $PLAYER_ACTOR driving_car_with_model #COMBINE
004D: jump_if_false @NONAME_2
0570: 0@ = create_asset_radar_marker_with_icon 55 at 1944.852 -1769.554 13.0125
0570: 1@ = create_asset_radar_marker_with_icon 55 at 2209.816 2481.934 10.8203
0570: 2@ = create_asset_radar_marker_with_icon 55 at 604.8804 1705.273 6.541
0570: 3@ = create_asset_radar_marker_with_icon 55 at -2414.49 982.081 45.2969
0570: 4@ = create_asset_radar_marker_with_icon 55 at -2244.623 -2561.828 31.9219
0570: 5@ = create_asset_radar_marker_with_icon 55 at -1327.512 2678.107 50.0625
0570: 6@ = create_asset_radar_marker_with_icon 55 at -95.1488 -1174.303 1.9281
0570: 7@ = create_asset_radar_marker_with_icon 55 at -1679.982 408.9051 7.2365
0570: 13@ = create_asset_radar_marker_with_icon 55 at 652.03 -571.34 16.34
0570: 14@ = create_asset_radar_marker_with_icon 55 at -1605.897 -2714.252 48.5335
0570: 15@ = create_asset_radar_marker_with_icon 55 at -1471.48 1864.31 32.64
0570: 16@ = create_asset_radar_marker_with_icon 55 at 1596.5 2199.1 10.83
0570: 17@ = create_asset_radar_marker_with_icon 55 at 2145.9 2748.16 10.83
0570: 18@ = create_asset_radar_marker_with_icon 55 at 2642.11 1106.53 10.83
0570: 19@ = create_asset_radar_marker_with_icon 55 at 2117.42 920.42 10.83
0570: 20@ = create_asset_radar_marker_with_icon 55 at 1381.68 456.26 19.91
03C0: 8@ = actor $PLAYER_ACTOR car
046C: 26@ = car 8@ driver
00D6: if
003B: 26@ == $PLAYER_ACTOR // (int)
004D: jump_if_false @NONAME_2
0390: load_txd_dictionary "GASOLINE"
038F: load_texture "SCALEF" as 1 // Load dictionary with 0390 first
038F: load_texture "SCALEE" as 2 // Load dictionary with 0390 first
038F: load_texture "ARROW" as 3 // Load dictionary with 0390 first
038F: load_texture "LOCK" as 4 // Load dictionary with 0390 first
0001: wait 250 ms
0050: gosub @NONAME_2122
00D6: if
88B7: not test 12@ bit 1
004D: jump_if_false @NONAME_618
0099: 10@ = random_int_in_ranges_0_to_32767
08BD: set 12@ bit 1
0A8C: write_memory 11@ size 1 value 12@ virtual_protect 0
0002: jump @NONAME_648

:NONAME_618
0A97: 22@ = car 8@ struct
0A8E: 23@ = 22@ + 5 // int
0A8D: 10@ = read_memory 23@ size 4 virtual_protect 0

:NONAME_648
0001: wait 0 ms
00D6: if
0038: $ONMISSION == 0
004D: jump_if_false @NONAME_1920
00D6: if
00DB: actor $PLAYER_ACTOR in_car 8@
004D: jump_if_false @NONAME_1818
0050: gosub @NONAME_2151
00D6: if
0019: 10@ > 0
004D: jump_if_false @NONAME_2027
02E3: 9@ = car 8@ speed
00D6: if
0043: 9@ == 0.0
004D: jump_if_false @NONAME_750
0002: jump @NONAME_1818

:NONAME_750
00D6: if and
0023: 20.0 > 9@
0021: 9@ > 1.0
004D: jump_if_false @NONAME_788
000E: 10@ -= 1

:NONAME_788
00D6: if and
0021: 9@ > 20.0
0023: 35.0 > 9@
004D: jump_if_false @NONAME_826
000E: 10@ -= 2

:NONAME_826
00D6: if and
0021: 9@ > 35.0
0023: 50.0 > 9@
004D: jump_if_false @NONAME_864
000E: 10@ -= 3

:NONAME_864
00D6: if
0021: 9@ > 50.0
004D: jump_if_false @NONAME_892
000E: 10@ -= 4

:NONAME_892
00D6: if and
8100: not actor $PLAYER_ACTOR in_sphere 1944.852 -1769.554 13.0125 radius 1.5 1.5 1.0 sphere 0 in_car
8100: not actor $PLAYER_ACTOR in_sphere 2209.816 2481.934 10.8203 radius 1.5 1.5 1.0 sphere 0 in_car
8100: not actor $PLAYER_ACTOR in_sphere 604.8804 1705.273 6.541 radius 1.5 1.5 1.0 sphere 0 in_car
8100: not actor $PLAYER_ACTOR in_sphere -2414.49 982.081 45.2969 radius 1.5 1.5 1.0 sphere 0 in_car
8100: not actor $PLAYER_ACTOR in_sphere -2244.623 -2561.828 31.9219 radius 1.5 1.5 1.0 sphere 0 in_car
8100: not actor $PLAYER_ACTOR in_sphere -1327.512 2678.107 50.0625 radius 1.5 1.5 1.0 sphere 0 in_car
8100: not actor $PLAYER_ACTOR in_sphere -95.1488 -1174.303 1.9281 radius 1.5 1.5 1.0 sphere 0 in_car
8100: not actor $PLAYER_ACTOR in_sphere -1679.982 408.9051 7.2365 radius 1.5 1.5 1.0 sphere 0 in_car
004D: jump_if_false @NONAME_1513
00D6: if and
8100: not actor $PLAYER_ACTOR in_sphere 652.03 -571.34 16.34 radius 1.5 1.5 1.0 sphere 0 in_car
8100: not actor $PLAYER_ACTOR in_sphere -1605.897 -2714.252 48.5335 radius 1.5 1.5 1.0 sphere 0 in_car
8100: not actor $PLAYER_ACTOR in_sphere -1471.48 1864.31 32.64 radius 1.5 1.5 1.0 sphere 0 in_car
8100: not actor $PLAYER_ACTOR in_sphere 1596.5 2199.1 10.83 radius 1.5 1.5 1.0 sphere 0 in_car
8100: not actor $PLAYER_ACTOR in_sphere 2145.9 2748.16 10.83 radius 1.5 1.5 1.0 sphere 0 in_car
8100: not actor $PLAYER_ACTOR in_sphere 2642.11 1106.53 10.83 radius 1.5 1.5 1.0 sphere 0 in_car
8100: not actor $PLAYER_ACTOR in_sphere 2117.42 920.42 10.83 radius 1.5 1.5 1.0 sphere 0 in_car
8100: not actor $PLAYER_ACTOR in_sphere 1381.68 456.26 19.91 radius 1.5 1.5 1.0 sphere 0 in_car
004D: jump_if_false @NONAME_1513
0002: jump @NONAME_1818

:NONAME_1513
00D6: if
0038: $ONMISSION == 0
004D: jump_if_false @NONAME_1920
00D6: if
001B: 29000 > 10@
004D: jump_if_false @NONAME_1818
00D6: if
010A: player $PLAYER_CHAR money > 0
004D: jump_if_false @NONAME_2099
010B: 31@ = player $PLAYER_CHAR money
0001: wait 150 ms
03BF: set_player $PLAYER_CHAR ignored_by_everyone 1
07CC: set_player $PLAYER_CHAR button_15 0
0006: 24@ = 0
0519: set_car 8@ locked 1
01B4: set_player $PLAYER_CHAR can_move 0

:NONAME_1616
0001: wait 0 ms
010B: 31@ = player $PLAYER_CHAR money
0085: 30@ = 31@ // (int)
0062: 30@ -= 24@ // (int)
00D6: if
801B: not 1 > 30@
004D: jump_if_false @NONAME_2076
00D6: if
002B: 29700 >= 10@
004D: jump_if_false @NONAME_1767
00D6: if
0038: $ONMISSION == 0
004D: jump_if_false @NONAME_1920
00D6: if
00DB: actor $PLAYER_ACTOR in_car 8@
004D: jump_if_false @NONAME_1920
0050: gosub @NONAME_2151
000A: 10@ += 300
097A: play_audio_at 0.0 0.0 0.0 event 1133
000A: 24@ += 1
0002: jump @NONAME_1616

:NONAME_1767
0012: 24@ *= -1
0109: player $PLAYER_CHAR money += 24@
036A: put_actor $PLAYER_ACTOR in_car 8@
0519: set_car 8@ locked 0
01B4: set_player $PLAYER_CHAR can_move 1
07CC: set_player $PLAYER_CHAR button_15 1
03BF: set_player $PLAYER_CHAR ignored_by_everyone 0

:NONAME_1818
00D6: if or
0118: actor $PLAYER_ACTOR dead
0119: car 8@ wrecked
004D: jump_if_false @NONAME_1853
08C3: clear 12@ bit 1
0002: jump @NONAME_1928

:NONAME_1853
0A97: 22@ = car 8@ struct
0A8E: 23@ = 22@ + 5 // int
0A8C: write_memory 23@ size 4 value 10@ virtual_protect 0
00D6: if
0038: $ONMISSION == 0
004D: jump_if_false @NONAME_1920
00D6: if
80DB: not actor $PLAYER_ACTOR in_car 8@
004D: jump_if_false @NONAME_648

:NONAME_1920
0001: wait 0 ms
03F0: enable_text_draw 0

:NONAME_1928
0164: disable_marker 0@
0164: disable_marker 1@
0164: disable_marker 2@
0164: disable_marker 3@
0164: disable_marker 4@
0164: disable_marker 5@
0164: disable_marker 6@
0164: disable_marker 7@
0164: disable_marker 13@
0164: disable_marker 14@
0164: disable_marker 15@
0164: disable_marker 16@
0164: disable_marker 17@
0164: disable_marker 18@
0164: disable_marker 19@
0164: disable_marker 20@
08C3: clear 12@ bit 1
0001: wait 1250 ms
0002: jump @NONAME_2

:NONAME_2027
0006: 10@ = 0
00D6: if
047A: actor $PLAYER_ACTOR driving_bike
004D: jump_if_false @NONAME_2062
02D4: car 8@ turn_off_engine
0002: jump @NONAME_892

:NONAME_2062
081D: set_car 8@ engine_operation 1
0002: jump @NONAME_892

:NONAME_2076
00BC: show_text_highpriority GXT 'GA_3' time 3000 flag 1 // No more freebies~n~$100 to respray!
0002: jump @NONAME_1767

:NONAME_2099
00BC: show_text_highpriority GXT 'NOMONEY' time 3000 flag 1 // ~s~You need more cash!
0002: jump @NONAME_1818

:NONAME_2122
0A97: 11@ = car 8@ struct
000A: 11@ += 4
0A8D: 12@ = read_memory 11@ size 1 virtual_protect 0
0051: return

:NONAME_2151
00D6: if
0019: 10@ > 5000
004D: jump_if_false @NONAME_2217
03F0: enable_text_draw 1
038D: draw_texture 1 position 573.3 382.7 size 128.0 64.0 RGBA 255 255 255 255
0002: jump @NONAME_2276

:NONAME_2217
00D6: if
001B: 5000 > 10@
004D: jump_if_false @NONAME_2276
03F0: enable_text_draw 1
038D: draw_texture 2 position 573.3 382.7 size 128.0 64.0 RGBA 255 255 255 255

:NONAME_2276
0007: 27@ = 66.0
0007: 29@ = 520.0
0006: 28@ = 33000
0062: 28@ -= 10@ // (int)
0093: 25@ = integer 28@ to_float
0017: 25@ /= 500.0
0063: 27@ -= 25@ // (float)
005B: 29@ += 27@ // (float)
03F0: enable_text_draw 1
038D: draw_texture 3 position 29@ 391.9 size 16.0 16.0 RGBA 255 255 255 255
09B3: get_car 8@ door_status 21@
00D6: if
8039: not 21@ == 1
004D: jump_if_false @NONAME_2452
03F0: enable_text_draw 1
038D: draw_texture 4 position 570.0 410.0 size 24.0 24.0 RGBA 255 255 255 255

:NONAME_2452
0051: return



i use this codes:
0570: 21@ = create_asset_radar_marker_with_icon 55 at (my coords)

then
8100: not actor $PLAYER_ACTOR in_sphere (coords) radius 1.5 1.5 1.0 sphere 0 in_car

0164: disable_marker 21@ 21@ my new added gas station.

So,i go to that area and i see on my map the gas station icon but no gas station marker.


Should I add something?or to change the number 21@?because i saw it is user in other places.....Please help!
Offline Profile Goto Top
 
Threepwood
Member Avatar
CLEOticCHAOtic

I am in a hurry, but noname_892 does the trick. It creates a (invisible) sphere, if you're in, you get gas. Just do maximum 7 per if-block, and add one line if needed until you have 7.

The visible sphere is made on the beginning, but is not really needded (because local variables are limited, do not add more).
Offline Profile Goto Top
 
Kotton
Member Avatar
★SoCal CrackHead★

^ precisely... however, I added the radar icons using local variables 00@, 01@, ect-

if you use those variables in label 2, add your coords to label 892 (in a new if block as threep has kindly mentioned), as well as remove the variable references in label 1928, then everything will show, including the red sphere :D
Offline Profile Goto Top
 
Zombie91
Member Avatar

Threepwood
Aug 31 2008, 05:17:55 AM
I am in a hurry, but noname_892 does the trick. It creates a (invisible) sphere, if you're in, you get gas. Just do maximum 7 per if-block, and add one line if needed until you have 7.

The visible sphere is made on the beginning, but is not really needded (because local variables are limited, do not add more).
Yeah,it works.THX a lot!!
Offline Profile Goto Top
 
VladyF
Member Avatar


Didn't noticed the other cleo help ??
Offline Profile Goto Top
 
Threepwood
Member Avatar
CLEOticCHAOtic

@Vllady: which? where? Sorry if I have overseen some..?
Offline Profile Goto Top
 
Kotton
Member Avatar
★SoCal CrackHead★

vlad means in the Shop hotline forum... which is where I'm moving this to ;)

hang on peeps, you're gonna feel a slight jolt :hehe:

edit- ok, now were going to merge topics... hang on to something
Offline Profile Goto Top
 
Zombie91
Member Avatar

So,here's the edited code,and guess what....I get in a car (radar icon and marker generates;teleport to the gas station then refuel.Everything works good unti i get out of the car->the marker and the icon don't dissapear)
Here's the new code,with my gas station 8@ with stars ***
Code:
 
//-------------MAIN---------------
0000: NOP

:NONAME_2
0001: wait 0 ms
00D6: if and
0256: player $PLAYER_CHAR defined
0038: $ONMISSION == 0
004D: jump_if_false @NONAME_2
00D6: if and
00DF: actor $PLAYER_ACTOR driving
84A7: not actor $PLAYER_ACTOR driving_boat
84A9: not actor $PLAYER_ACTOR driving_heli
84AB: not actor $PLAYER_ACTOR driving_plane
84C8: not actor $PLAYER_ACTOR driving_flying_vehicle
89AE: not actor $PLAYER_ACTOR driving_train
004D: jump_if_false @NONAME_2
00D6: if and
80DD: not actor $PLAYER_ACTOR driving_car_with_model #BMX
80DD: not actor $PLAYER_ACTOR driving_car_with_model #BIKE
80DD: not actor $PLAYER_ACTOR driving_car_with_model #MTBIKE
80DD: not actor $PLAYER_ACTOR driving_car_with_model #COMBINE
004D: jump_if_false @NONAME_2
0570: 0@ = create_asset_radar_marker_with_icon 55 at 1944.852 -1769.554 13.0125
0570: 1@ = create_asset_radar_marker_with_icon 55 at 2209.816 2481.934 10.8203
0570: 2@ = create_asset_radar_marker_with_icon 55 at 604.8804 1705.273 6.541
0570: 3@ = create_asset_radar_marker_with_icon 55 at -2414.49 982.081 45.2969
0570: 4@ = create_asset_radar_marker_with_icon 55 at -2244.623 -2561.828 31.9219
0570: 5@ = create_asset_radar_marker_with_icon 55 at -1327.512 2678.107 50.0625
0570: 6@ = create_asset_radar_marker_with_icon 55 at -95.1488 -1174.303 1.9281
0570: 7@ = create_asset_radar_marker_with_icon 55 at -1679.982 408.9051 7.2365
***0570: 8@ = create_asset_radar_marker_with_icon 55 at -149.6454 -222.1302 1.421875
0570: 13@ = create_asset_radar_marker_with_icon 55 at 652.03 -571.34 16.34
0570: 14@ = create_asset_radar_marker_with_icon 55 at -1605.897 -2714.252 48.5335
0570: 15@ = create_asset_radar_marker_with_icon 55 at -1471.48 1864.31 32.64
0570: 16@ = create_asset_radar_marker_with_icon 55 at 1596.5 2199.1 10.83
0570: 17@ = create_asset_radar_marker_with_icon 55 at 2145.9 2748.16 10.83
0570: 18@ = create_asset_radar_marker_with_icon 55 at 2642.11 1106.53 10.83
0570: 19@ = create_asset_radar_marker_with_icon 55 at 2117.42 920.42 10.83
0570: 20@ = create_asset_radar_marker_with_icon 55 at 1381.68 456.26 19.91
03C0: 8@ = actor $PLAYER_ACTOR car
046C: 26@ = car 8@ driver
00D6: if
003B: 26@ == $PLAYER_ACTOR // (int)
004D: jump_if_false @NONAME_2
0390: load_txd_dictionary "GASOLINE"
038F: load_texture "SCALEF" as 1 // Load dictionary with 0390 first
038F: load_texture "SCALEE" as 2 // Load dictionary with 0390 first
038F: load_texture "ARROW" as 3 // Load dictionary with 0390 first
038F: load_texture "LOCK" as 4 // Load dictionary with 0390 first
0001: wait 250 ms
0050: gosub @NONAME_2197
00D6: if
88B7: not test 12@ bit 1
004D: jump_if_false @NONAME_640
0099: 10@ = random_int_in_ranges_0_to_32767
08BD: set 12@ bit 1
0A8C: write_memory 11@ size 1 value 12@ virtual_protect 0
0002: jump @NONAME_670

:NONAME_640
0A97: 22@ = car 8@ struct
0A8E: 23@ = 22@ + 5 // int
0A8D: 10@ = read_memory 23@ size 4 virtual_protect 0

:NONAME_670
0001: wait 0 ms
00D6: if
0038: $ONMISSION == 0
004D: jump_if_false @NONAME_1990
00D6: if
00DB: actor $PLAYER_ACTOR in_car 8@
004D: jump_if_false @NONAME_1888
0050: gosub @NONAME_2226
00D6: if
0019: 10@ > 0
004D: jump_if_false @NONAME_2102
02E3: 9@ = car 8@ speed
00D6: if
0043: 9@ == 0.0
004D: jump_if_false @NONAME_772
0002: jump @NONAME_1888

:NONAME_772
00D6: if and
0023: 20.0 > 9@
0021: 9@ > 1.0
004D: jump_if_false @NONAME_810
000E: 10@ -= 1

:NONAME_810
00D6: if and
0021: 9@ > 20.0
0023: 35.0 > 9@
004D: jump_if_false @NONAME_848
000E: 10@ -= 2

:NONAME_848
00D6: if and
0021: 9@ > 35.0
0023: 50.0 > 9@
004D: jump_if_false @NONAME_886
000E: 10@ -= 3

:NONAME_886
00D6: if
0021: 9@ > 50.0
004D: jump_if_false @NONAME_914
000E: 10@ -= 4

:NONAME_914
00D6: if and
8100: not actor $PLAYER_ACTOR in_sphere 1944.852 -1769.554 13.0125 radius 1.5 1.5 1.0 sphere 0 in_car
8100: not actor $PLAYER_ACTOR in_sphere 2209.816 2481.934 10.8203 radius 1.5 1.5 1.0 sphere 0 in_car
8100: not actor $PLAYER_ACTOR in_sphere 604.8804 1705.273 6.541 radius 1.5 1.5 1.0 sphere 0 in_car
8100: not actor $PLAYER_ACTOR in_sphere -2414.49 982.081 45.2969 radius 1.5 1.5 1.0 sphere 0 in_car
8100: not actor $PLAYER_ACTOR in_sphere -2244.623 -2561.828 31.9219 radius 1.5 1.5 1.0 sphere 0 in_car
8100: not actor $PLAYER_ACTOR in_sphere -1327.512 2678.107 50.0625 radius 1.5 1.5 1.0 sphere 0 in_car
8100: not actor $PLAYER_ACTOR in_sphere -95.1488 -1174.303 1.9281 radius 1.5 1.5 1.0 sphere 0 in_car
***8100: not actor $PLAYER_ACTOR in_sphere -149.6454 -222.1302 1.421875 radius 1.5 1.5 1.0 sphere 0 in_car
004D: jump_if_false @NONAME_1583
00D6: if and
8100: not actor $PLAYER_ACTOR in_sphere 1381.68 456.26 19.91 radius 1.5 1.5 1.0 sphere 0 in_car
8100: not actor $PLAYER_ACTOR in_sphere -1679.982 408.9051 7.2365 radius 1.5 1.5 1.0 sphere 0 in_car
8100: not actor $PLAYER_ACTOR in_sphere 652.03 -571.34 16.34 radius 1.5 1.5 1.0 sphere 0 in_car
8100: not actor $PLAYER_ACTOR in_sphere -1605.897 -2714.252 48.5335 radius 1.5 1.5 1.0 sphere 0 in_car
8100: not actor $PLAYER_ACTOR in_sphere -1471.48 1864.31 32.64 radius 1.5 1.5 1.0 sphere 0 in_car
8100: not actor $PLAYER_ACTOR in_sphere 1596.5 2199.1 10.83 radius 1.5 1.5 1.0 sphere 0 in_car
8100: not actor $PLAYER_ACTOR in_sphere 2145.9 2748.16 10.83 radius 1.5 1.5 1.0 sphere 0 in_car
8100: not actor $PLAYER_ACTOR in_sphere 2642.11 1106.53 10.83 radius 1.5 1.5 1.0 sphere 0 in_car
004D: jump_if_false @NONAME_1583
00D6: if and
8100: not actor $PLAYER_ACTOR in_sphere 2117.42 920.42 10.83 radius 1.5 1.5 1.0 sphere 0 in_car
004D: jump_if_false @NONAME_1583
0002: jump @NONAME_1888

:NONAME_1583
00D6: if
0038: $ONMISSION == 0
004D: jump_if_false @NONAME_1990
00D6: if
001B: 29000 > 10@
004D: jump_if_false @NONAME_1888
00D6: if
010A: player $PLAYER_CHAR money > 0
004D: jump_if_false @NONAME_2174
010B: 31@ = player $PLAYER_CHAR money
0001: wait 150 ms
03BF: set_player $PLAYER_CHAR ignored_by_everyone 1
07CC: set_player $PLAYER_CHAR button_15 0
0006: 24@ = 0
0519: set_car 8@ locked 1
01B4: set_player $PLAYER_CHAR can_move 0

:NONAME_1686
0001: wait 0 ms
010B: 31@ = player $PLAYER_CHAR money
0085: 30@ = 31@ // (int)
0062: 30@ -= 24@ // (int)
00D6: if
801B: not 1 > 30@
004D: jump_if_false @NONAME_2151
00D6: if
002B: 29700 >= 10@
004D: jump_if_false @NONAME_1837
00D6: if
0038: $ONMISSION == 0
004D: jump_if_false @NONAME_1990
00D6: if
00DB: actor $PLAYER_ACTOR in_car 8@
004D: jump_if_false @NONAME_1990
0050: gosub @NONAME_2226
000A: 10@ += 300
097A: play_audio_at 0.0 0.0 0.0 event 1133
000A: 24@ += 1
0002: jump @NONAME_1686

:NONAME_1837
0012: 24@ *= -1
0109: player $PLAYER_CHAR money += 24@
036A: put_actor $PLAYER_ACTOR in_car 8@
0519: set_car 8@ locked 0
01B4: set_player $PLAYER_CHAR can_move 1
07CC: set_player $PLAYER_CHAR button_15 1
03BF: set_player $PLAYER_CHAR ignored_by_everyone 0

:NONAME_1888
00D6: if or
0118: actor $PLAYER_ACTOR dead
0119: car 8@ wrecked
004D: jump_if_false @NONAME_1923
08C3: clear 12@ bit 1
0002: jump @NONAME_1998

:NONAME_1923
0A97: 22@ = car 8@ struct
0A8E: 23@ = 22@ + 5 // int
0A8C: write_memory 23@ size 4 value 10@ virtual_protect 0
00D6: if
0038: $ONMISSION == 0
004D: jump_if_false @NONAME_1990
00D6: if
80DB: not actor $PLAYER_ACTOR in_car 8@
004D: jump_if_false @NONAME_670

:NONAME_1990
0001: wait 0 ms
03F0: enable_text_draw 0

:NONAME_1998
0164: disable_marker 0@
0164: disable_marker 1@
0164: disable_marker 2@
0164: disable_marker 3@
0164: disable_marker 4@
0164: disable_marker 5@
0164: disable_marker 6@
0164: disable_marker 7@
***0164: disable_marker 8@
0164: disable_marker 13@
0164: disable_marker 14@
0164: disable_marker 15@
0164: disable_marker 16@
0164: disable_marker 17@
0164: disable_marker 18@
0164: disable_marker 19@
0164: disable_marker 20@
08C3: clear 12@ bit 1
0001: wait 1250 ms
0002: jump @NONAME_2

:NONAME_2102
0006: 10@ = 0
00D6: if
047A: actor $PLAYER_ACTOR driving_bike
004D: jump_if_false @NONAME_2137
02D4: car 8@ turn_off_engine
0002: jump @NONAME_914

:NONAME_2137
081D: set_car 8@ engine_operation 1
0002: jump @NONAME_914

:NONAME_2151
00BC: show_text_highpriority GXT 'GA_3' time 3000 flag 1 // No more freebies~n~$100 to respray!
0002: jump @NONAME_1837

:NONAME_2174
00BC: show_text_highpriority GXT 'NOMONEY' time 3000 flag 1 // ~s~You need more cash!
0002: jump @NONAME_1888

:NONAME_2197
0A97: 11@ = car 8@ struct
000A: 11@ += 4
0A8D: 12@ = read_memory 11@ size 1 virtual_protect 0
0051: return

:NONAME_2226
00D6: if
0019: 10@ > 5000
004D: jump_if_false @NONAME_2292
03F0: enable_text_draw 1
038D: draw_texture 1 position 573.3 382.7 size 128.0 64.0 RGBA 255 255 255 255
0002: jump @NONAME_2351

:NONAME_2292
00D6: if
001B: 5000 > 10@
004D: jump_if_false @NONAME_2351
03F0: enable_text_draw 1
038D: draw_texture 2 position 573.3 382.7 size 128.0 64.0 RGBA 255 255 255 255

:NONAME_2351
0007: 27@ = 66.0
0007: 29@ = 520.0
0006: 28@ = 33000
0062: 28@ -= 10@ // (int)
0093: 25@ = integer 28@ to_float
0017: 25@ /= 500.0
0063: 27@ -= 25@ // (float)
005B: 29@ += 27@ // (float)
03F0: enable_text_draw 1
038D: draw_texture 3 position 29@ 391.9 size 16.0 16.0 RGBA 255 255 255 255
09B3: get_car 8@ door_status 21@
00D6: if
8039: not 21@ == 1
004D: jump_if_false @NONAME_2527
03F0: enable_text_draw 1
038D: draw_texture 4 position 570.0 410.0 size 24.0 24.0 RGBA 255 255 255 255

:NONAME_2527
0051: return


What's wrong now?And one more thing:Offtopic:Who is the admin of the site?I would like to tell him that a email notification of replies would be a great thing.THX a lot!
Edited by Zombie91, Aug 31 2008, 11:06:20 AM.
Offline Profile Goto Top
 
Threepwood
Member Avatar
CLEOticCHAOtic

Thats why I said DO NOT add markers. Every local var is used iirc, You have used 8@ which is also used for the car/speed. You can use one of the old markers var twice, for example use 0@. Unclean hack, but should work.
Offline Profile Goto Top
 
Kotton
Member Avatar
★SoCal CrackHead★

what am I? in-fuckn-visable here? I already told you which variables to use ffs

and scroll all the way down on this page... see that text that says "track topic" = viola
Offline Profile Goto Top
 
Threepwood
Member Avatar
CLEOticCHAOtic

Kot, sorry to say that mate, but according to SB help and else, in cs threads only 0-30(31?) are allowed. Thats why SB makes 1@ out of your suggested 01@ while compiling. Thats exactly what I suggested to do, overwrite existing marker vars.
Offline Profile Goto Top
 
Kotton
Member Avatar
★SoCal CrackHead★

no need to be sorry homeboy, that's exactly why I told him to use those variables- idk about you, but I get a compile error when I use two or more of the same variables, so to get around that, I use 00, 01 and so on... I didn't think it was necessary to explain how it works, I just gave him a solution 9 posts ago that does :suicide:
Offline Profile Goto Top
 
Zombie91
Member Avatar

Kotton
Aug 31 2008, 11:48:25 AM
no need to be sorry homeboy, that's exactly why I told him to use those variables- idk about you, but I get a compile error when I use two or more of the same variables, so to get around that, I use 00, 01 and so on... I didn't think it was necessary to explain how it works, I just gave him a solution 9 posts ago that does :suicide:
Sorry to hear that from you.I understand....calm down dude,i works now.Problem solved......for now.
Offline Profile Goto Top
 
Kotton
Member Avatar
★SoCal CrackHead★

sry to hear what? and why in the fuck are you telling me to calm down? feel free to confirm with any of the VIP's or Shop Staff here that know me, I'm not even close to being "amped" or "upset" ..or even agitated for that matter - just because you see a "fuckn", a "ffs" and a suicide smiley in no way denotes that I need to cool my jets

the simple fact of the matter is after threep told you not to add the icons, I gave you a solution that would enable you to utilize them- but did you listen? nope, you came back with this "8@" bullshit - and this all could have been avoided if you had used your head and done a quick search in the script for that variable or listened to me the first time - but it's all good, I don't mind watching peeps spin their wheels in the mud after someone threw em a rope- it's mildly entertaining :thumbsup:
Offline Profile Goto Top
 
Zombie91
Member Avatar

Sa'ti bagi pula in mata.Ia'o peasta shi suge'o cu mata _|_ Ratatu dreacu.


// EDIT: Post hidden and screenshotted. Next decision what to do w/ it is done by Kotton. Regards, Threep
Edited by Threepwood, Sep 1 2008, 08:47:20 AM.
Offline Profile Goto Top
 
VladyF
Member Avatar


Use English and shut the fuck up you wanted to be helped :shyyyt:
Spoiler: click to toggle
Edited by VladyF, Sep 1 2008, 08:33:53 AM.
Offline Profile Goto Top
 
Zombie91
Member Avatar

VladyF
Sep 1 2008, 08:30:33 AM
Use English and shut the fuck up you wanted to be helped :shyyyt:
Spoiler: click to toggle
Yea,my bad.
Offline Profile Goto Top
 
Threepwood
Member Avatar
CLEOticCHAOtic

Peeps, behave.
Offline Profile Goto Top
 
Kotton
Member Avatar
★SoCal CrackHead★

damn vlad- you go boy- hahaha

ye... ay 91, mi apologias, I can be abrasive at times and wasn't exactly the "nice guy" when responding to you - but I came across a lil weed and a whole lotta pussy... so now I'm straight lol- I'm glad you got it workn homeboy ;)
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · Chop Shop Hotline · Next Topic »
Locked Topic

✜ KotsChopShop® A Suspect Everything/Stripprpmp Industries copyright ©2007-2015 ✜

All trademarks and works contained within KotsChopShop are copyrighted properties
of Suspect Everything/Stripprpmp Industries and/or their respective owners.
All works, files, and/or hyperlinks hosted or provided by KotsChopShop are provided free,
and strictly for educational and entertainment purposes only.


.Wiredvage Theme created by Zeus00 and converted by Wolt of the ZetaBoards Theme Zone