Witam. Potrzebny mi kod dzięki któremu po wejściu w nową grę zespawnuje gracza w określonym miejscu. Napisałem taki kod, lecz po skompilowaniu i odpaleniu go, po załadowaniu nowej gry, pokazuje się tylko napis w prawym dolnym rogu z nazwą miejsca w którym jestem. Oto kod:

Kod:

// This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007
DEFINE OBJECTS 1
DEFINE OBJECT SANNY BUILDER 3.03      

DEFINE MISSIONS 0

DEFINE EXTERNAL_SCRIPTS 0 // Use -1 in order not to compile AAA script

DEFINE UNKNOWN_EMPTY_SEGMENT 0

DEFINE UNKNOWN_THREADS_MEMORY 0

{$VERSION 3.1.0027}

//-------------MAIN---------------
thread 'MAIN' 
fade 0 0 
00C0: set_current_time_hours_to 10 minutes_to 0  
04E4: unknown_refresh_game_renderer_at 1288.99 -2015.333  
$PLAYER_CHAR = Player.Create(#NULL, $7, $6, $5)
$PLAYER_ACTOR = Actor.EmulateFromPlayer($PLAYER_CHAR)
Camera.SetBehindPlayer

Player.SetClothes($PLAYER_CHAR, "BBALLJACKRSTAR", "BBJACK", Torso)
Player.SetClothes($PLAYER_CHAR, "JEANSDENIM", "JEANS", Legs)
Player.SetClothes($PLAYER_CHAR, "SNEAKERBINCBLK", "SNEAKER", Shoes)
Player.SetClothes($PLAYER_CHAR, "PLAYER_FACE", "HEAD", Head)
Player.Build($PLAYER_CHAR)
select_interior 0 
Player.CanMove($PLAYER_CHAR) = True
01B7: release_weather 
016C: restart_if_wasted_at 1288.99  -2015.333  58.3067 angle 0.0 town_number 0 

:MAIN_367
wait 0 
if 
    Actor.PutAt($PLAYER_ACTOR, 1288.99, -2015.333, 58.3067)
jf @MAIN_367 

Model.Load(#CLOVER)

    
    
fade 1 1000 
wait 100 
03E6: remove_text_box 

:MAIN_411
wait 2500 
jump @MAIN_411 


EDIT: Temat do zamknięcia, poradziłem sobie z problemem z pomocą Silenta. Oto prawidłowy kod:

Kod:
// This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007
DEFINE OBJECTS 1
DEFINE OBJECT SANNY BUILDER 3.03      

DEFINE MISSIONS 0

DEFINE EXTERNAL_SCRIPTS 0 // Use -1 in order not to compile AAA script

DEFINE UNKNOWN_EMPTY_SEGMENT 0

DEFINE UNKNOWN_THREADS_MEMORY 0

{$VERSION 3.1.0027}

//-------------MAIN---------------
thread 'MAIN' 
fade 0 0 
00C0: set_current_time_hours_to 10 minutes_to 0  
04E4: unknown_refresh_game_renderer_at 1288.99 -2015.333  
$PLAYER_CHAR = Player.Create(#NULL, 1288.99, -2015.333, 58.3067)
$PLAYER_ACTOR = Actor.EmulateFromPlayer($PLAYER_CHAR)
Camera.SetBehindPlayer

Player.SetClothes($PLAYER_CHAR, "BBALLJACKRSTAR", "BBJACK", Torso)
Player.SetClothes($PLAYER_CHAR, "JEANSDENIM", "JEANS", Legs)
Player.SetClothes($PLAYER_CHAR, "SNEAKERBINCBLK", "SNEAKER", Shoes)
Player.SetClothes($PLAYER_CHAR, "PLAYER_FACE", "HEAD", Head)
Player.Build($PLAYER_CHAR)
select_interior 0 
Player.CanMove($PLAYER_CHAR) = True
01B7: release_weather 
016C: restart_if_wasted_at 1288.99  -2015.333  58.3067 angle 0.0 town_number 0 


fade 1 1000 
wait 100 
03E6: remove_text_box 

:MAIN_411
wait 2500 
jump @MAIN_411 

end_thread