Temat:
Strefa
|
Napisano dnia: 2011-11-11 17:59:25
Powiedz mi po co dwa razy sprawdzasz czy ma odpowiedni wanted level ?
Skorzystaj z tego skryptu:
Usunąłem cały :hasArrived4.
Skorzystaj z tego skryptu:
Kod:
{$CLEO .cs}
0000: NOP
:check
wait 10
if
Player.Defined($PLAYER_CHAR)
jf @check
:hasArrived
wait 0
if
Player.WantedLevel($PLAYER_CHAR) > 0
jf @hasArrived
0570: $630 = create_asset_radar_marker_with_icon 20 at 2489.897 -1669.733 13
:hasArrived2
wait 0
if
00EC: actor $PLAYER_ACTOR 0 near_point 2489.897 -1669.733 radius 30.0 30.0
jf @hasArrived2
32@ = 0
:wait
wait 0
if
32@ >= 5000
jf @wait
0565: create_soundless_explosion_at 2489.897 -1669.733 13.33 type 11
:hasArrived3
wait 0
if
810F: not player $PLAYER_CHAR wanted_level > 0
jf @hasArrived3
0164: disable_marker $630
jump @hasArrived
0A93: end_custom_thread
0000: NOP
:check
wait 10
if
Player.Defined($PLAYER_CHAR)
jf @check
:hasArrived
wait 0
if
Player.WantedLevel($PLAYER_CHAR) > 0
jf @hasArrived
0570: $630 = create_asset_radar_marker_with_icon 20 at 2489.897 -1669.733 13
:hasArrived2
wait 0
if
00EC: actor $PLAYER_ACTOR 0 near_point 2489.897 -1669.733 radius 30.0 30.0
jf @hasArrived2
32@ = 0
:wait
wait 0
if
32@ >= 5000
jf @wait
0565: create_soundless_explosion_at 2489.897 -1669.733 13.33 type 11
:hasArrived3
wait 0
if
810F: not player $PLAYER_CHAR wanted_level > 0
jf @hasArrived3
0164: disable_marker $630
jump @hasArrived
0A93: end_custom_thread
Usunąłem cały :hasArrived4.