#1 07-03-2009 09:14

Vlad
Registered: 07-03-2009
Posts: 12

Перекраска

Перекраска на улице, в любом месте(CLEO)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
{$CLEO .cs}
 
0000: NOP
 
:NONAME_2
wait 0
if and
   not Actor.Driving($PLAYER_ACTOR)
02D8:   actor $PLAYER_ACTOR current_weapon == 41
00E1:   player 0 pressed_key 17
jf @NONAME_2
Player.ClearWantedLevel($PLAYER_CHAR)
0209: 0@ = random_int_in_ranges 0 126
0209: 1@ = random_int_in_ranges 0 126
Car.RemoveReferences(5@)
04C4: store_coords_to 10@ 11@ 13@ from_actor $PLAYER_ACTOR with_offset 3.75 3.75 0.0
04C4: store_coords_to 14@ 15@ 13@ from_actor $PLAYER_ACTOR with_offset -3.7499 -3.7499 0.0
053E: 5@ = get_random_car_with_model -1 in_rectangle_cornerA 10@ 11@ cornerB 14@ 15@
if
056E:   car 5@ defined
jf @NONAME_2
046C: 6@ = car 5@ driver
if
056D:   actor 6@ defined
jf @NONAME_781
jump @NONAME_189
end_thread
 
:NONAME_189
wait 0
if or
   Actor.Model(6@) == #FAM1
   Actor.Model(6@) == #FAM2
   Actor.Model(6@) == #FAM3
jf @NONAME_299
wait 1000
if and
056E:   car 5@ defined
   not Actor.Driving($PLAYER_ACTOR)
02D8:   actor $PLAYER_ACTOR current_weapon == 41
00E1:   player 0 pressed_key 17
jf @NONAME_2
0229: set_car 5@ primary_color_to 16 secondary_color_to 44
Car.RemoveReferences(5@)
Player.Money($PLAYER_CHAR) += 100
Player.ClearWantedLevel($PLAYER_CHAR)
00BA: text_styled 'KRASKA2' 2000 ms 6
jump @NONAME_2
end_thread
 
:NONAME_299
wait 0
if or
   Actor.Model(6@) == #BALLAS1
   Actor.Model(6@) == #BALLAS2
   Actor.Model(6@) == #BALLAS3
   Actor.Model(6@) == #LSV1
   Actor.Model(6@) == #LSV2
   Actor.Model(6@) == #LSV3
jf @NONAME_365
jump @NONAME_434
end_thread
 
:NONAME_365
wait 0
if or
   Actor.Model(6@) == #VLA1
   Actor.Model(6@) == #VLA2
   Actor.Model(6@) == #VLA3
   Actor.Model(6@) == #SFR1
   Actor.Model(6@) == #SFR2
   Actor.Model(6@) == #SFR3
jf @NONAME_600
jump @NONAME_434
end_thread
 
:NONAME_434
wait 1000
if and
056E:   car 5@ defined
   not Actor.Driving($PLAYER_ACTOR)
02D8:   actor $PLAYER_ACTOR current_weapon == 41
00E1:   player 0 pressed_key 17
jf @NONAME_2
0229: set_car 5@ primary_color_to 16 secondary_color_to 44
00BA: text_styled 'KRASKA1' 2000 ms 6
wait 2000
Model.Load(#AK47)
038B: load_requested_models
 
:NONAME_494
wait 0
if
   Model.Available(#AK47)
jf @NONAME_494
01B2: give_actor 6@ weapon 30 ammo 120 // Load the weapon model before using this
Actor.Health(6@) = 3000
wait 100
17@ = Marker.CreateAboveActor(6@)
05E2: AS_actor 6@ kill_actor $PLAYER_ACTOR
 
:NONAME_551
wait 0
if or
   Actor.Dead($PLAYER_ACTOR)
   Actor.Dead(6@)
jf @NONAME_551
Model.Destroy(#AK47)
Marker.Disable(17@)
Car.RemoveReferences(5@)
jump @NONAME_2
end_thread
 
:NONAME_600
wait 0
if
   Actor.DrivingPoliceVehicle(6@)
jf @NONAME_705
wait 250
if and
056E:   car 5@ defined
   not Actor.Driving($PLAYER_ACTOR)
02D8:   actor $PLAYER_ACTOR current_weapon == 41
00E1:   player 0 pressed_key 17
jf @NONAME_2
0229: set_car 5@ primary_color_to 0@ secondary_color_to 1@
Car.RemoveReferences(5@)
Player.ClearWantedLevel($PLAYER_CHAR)
00BA: text_styled 'KRASKA4' 2000 ms 6
jump @NONAME_2
end_thread
 
:NONAME_705
wait 1000
if and
056E:   car 5@ defined
   not Actor.Driving($PLAYER_ACTOR)
02D8:   actor $PLAYER_ACTOR current_weapon == 41
00E1:   player 0 pressed_key 17
jf @NONAME_2
0229: set_car 5@ primary_color_to 0@ secondary_color_to 1@
Car.RemoveReferences(5@)
Player.Money($PLAYER_CHAR) += 100
Player.ClearWantedLevel($PLAYER_CHAR)
00BA: text_styled 'KRASKA3' 2000 ms 6
jump @NONAME_2
end_thread
 
:NONAME_781
wait 1000
if and
056E:   car 5@ defined
   not Actor.Driving($PLAYER_ACTOR)
02D8:   actor $PLAYER_ACTOR current_weapon == 41
00E1:   player 0 pressed_key 17
jf @NONAME_2
0229: set_car 5@ primary_color_to 0@ secondary_color_to 1@
Car.RemoveReferences(5@)
Player.ClearWantedLevel($PLAYER_CHAR)
jump @NONAME_2
end_thread

Клео текст качать тута
Суть в том, что красим машины на улице, за свою заберет все звезды, если покрасить  чужую машину дадут 100$, если вражескую убьют lol

Last edited by Vlad (07-03-2009 19:34)

Offline

Board footer

Powered by FluxBB