Napisano dnia: 2009-02-07 12:55:31
Witam o to opcod jaki stworzyłem.
Tyle że jest 1 problem. Nie widac markera. Prosze o pomoc.
Kod:
DEFINE OBJECTS 0
DEFINE MISSIONS 1
DEFINE MISSION 0 AT @MISJA
DEFINE EXTERNAL_SCRIPTS -1
DEFINE UNKNOWN_EMPTY_SEGMENT 0
DEFINE UNKNOWN_THREADS_MEMORY 0
thread 'MAIN'
var
$PLAYER_CHAR : Player
end
set_weather 3
00C0: set_current_time 21 00
01F0: set_max_wanted_level_to 6
$PLAYER_CHAR = Player.Create(#NULL, 372.5525, 180.4747, 1008.383)
$PLAYER_ACTOR = Actor.EmulateFromPlayer($PLAYER_CHAR)
$PLAYER_CHAR.SetClothes("PLAYER_FACE", "HEAD", Head)
$PLAYER_CHAR.SetClothes("JEANSDENIM", "JEANS", Legs)
$PLAYER_CHAR.SetClothes("SNEAKERBINCBLK", "SNEAKER", Shoes)
$PLAYER_CHAR.SetClothes("VEST", "VEST", Torso)
$PLAYER_CHAR.Build
$PLAYER_CHAR.CanMove(True)
016C: restart_if_wasted at 2027.77 -1420.52 15.99 angle 137.0 unknown 0
016D: restart_if_busted at 1550.68 -1675.49 14.51 angle 90.0 unknown 0
fade 1 (out) 0 ms
start_mission 0
end_thread
:MISJA
thread 'MISJA'
0247: request_model 111 // Ofiara
0247: request_model 112 // Kolega ofiary
0247: request_model 113 // Kolega ofiary
0247: request_model #shotgspa // UZI
0247: request_model #ak47 // MP5
0247: request_model #cuntgun // TEC9
038B: load_requested_models
04BB: select_interior 3
0860: link_actor $PLAYER_ACTOR to_interior 3
02A7: $CEL = create_icon_marker_and_sphere 56 at 364.5656 184.8908 1008.3828 radius 3.0
009A: $TERRO = create_actor_pedtype 20 model 111 at 362.5525 172.4747 1008.383 z_angle 267.8791
009A: $TERRO2 = create_actor_pedtype 4 model 113 at 364.2965 173.6771 1008.3828 z_angle 267.8791
009A: $TERRO1 = create_actor_pedtype 4 model 112 at 364.4514 172.4747 1008.389 z_angle 267.8791
01B2: give_actor $TERRO weapon 27 ammo 20
01B2: give_actor $TERRO2 weapon 30 ammo 20
01B2: give_actor $TERRO1 weapon 33 ammo 20
02A7: $CEL = create_icon_marker_and_sphere 56 at 364.5656 184.8908 1008.3828 radius 3.0
:petla1
wait 10
if
0103: actor $PLAYER_ACTOR in_sphere 364.5656 184.8908 1008.3828 radius 3.0 3.0 3.0 sphere 0
jf @petla1
wait 1000
05D3: AS_actor $TERRO goto_point 362.5525 175.4747 1008.383 mode 4 3000 ms
05D3: AS_actor $TERRO1 goto_point 362.5525 175.4747 1008.383 mode 4 3000 ms // versionA
05D3: AS_actor $TERRO2 goto_point 362.5525 180.4747 1008.383 mode 4 3000 ms
end_thread
DEFINE MISSIONS 1
DEFINE MISSION 0 AT @MISJA
DEFINE EXTERNAL_SCRIPTS -1
DEFINE UNKNOWN_EMPTY_SEGMENT 0
DEFINE UNKNOWN_THREADS_MEMORY 0
thread 'MAIN'
var
$PLAYER_CHAR : Player
end
set_weather 3
00C0: set_current_time 21 00
01F0: set_max_wanted_level_to 6
$PLAYER_CHAR = Player.Create(#NULL, 372.5525, 180.4747, 1008.383)
$PLAYER_ACTOR = Actor.EmulateFromPlayer($PLAYER_CHAR)
$PLAYER_CHAR.SetClothes("PLAYER_FACE", "HEAD", Head)
$PLAYER_CHAR.SetClothes("JEANSDENIM", "JEANS", Legs)
$PLAYER_CHAR.SetClothes("SNEAKERBINCBLK", "SNEAKER", Shoes)
$PLAYER_CHAR.SetClothes("VEST", "VEST", Torso)
$PLAYER_CHAR.Build
$PLAYER_CHAR.CanMove(True)
016C: restart_if_wasted at 2027.77 -1420.52 15.99 angle 137.0 unknown 0
016D: restart_if_busted at 1550.68 -1675.49 14.51 angle 90.0 unknown 0
fade 1 (out) 0 ms
start_mission 0
end_thread
:MISJA
thread 'MISJA'
0247: request_model 111 // Ofiara
0247: request_model 112 // Kolega ofiary
0247: request_model 113 // Kolega ofiary
0247: request_model #shotgspa // UZI
0247: request_model #ak47 // MP5
0247: request_model #cuntgun // TEC9
038B: load_requested_models
04BB: select_interior 3
0860: link_actor $PLAYER_ACTOR to_interior 3
02A7: $CEL = create_icon_marker_and_sphere 56 at 364.5656 184.8908 1008.3828 radius 3.0
009A: $TERRO = create_actor_pedtype 20 model 111 at 362.5525 172.4747 1008.383 z_angle 267.8791
009A: $TERRO2 = create_actor_pedtype 4 model 113 at 364.2965 173.6771 1008.3828 z_angle 267.8791
009A: $TERRO1 = create_actor_pedtype 4 model 112 at 364.4514 172.4747 1008.389 z_angle 267.8791
01B2: give_actor $TERRO weapon 27 ammo 20
01B2: give_actor $TERRO2 weapon 30 ammo 20
01B2: give_actor $TERRO1 weapon 33 ammo 20
02A7: $CEL = create_icon_marker_and_sphere 56 at 364.5656 184.8908 1008.3828 radius 3.0
:petla1
wait 10
if
0103: actor $PLAYER_ACTOR in_sphere 364.5656 184.8908 1008.3828 radius 3.0 3.0 3.0 sphere 0
jf @petla1
wait 1000
05D3: AS_actor $TERRO goto_point 362.5525 175.4747 1008.383 mode 4 3000 ms
05D3: AS_actor $TERRO1 goto_point 362.5525 175.4747 1008.383 mode 4 3000 ms // versionA
05D3: AS_actor $TERRO2 goto_point 362.5525 180.4747 1008.383 mode 4 3000 ms
end_thread
Tyle że jest 1 problem. Nie widac markera. Prosze o pomoc.