#1 04-08-2011 06:33

andryshka
Registered: 05-06-2011
Posts: 13

Помогите со скриптом телепортации !

Помогите пожалуйста со скриптом ! Нужно сделать так чтобы в переменных сохранилось значение координат игрока даже после выхода игры !
Вот сам скрипт:

// This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007

{$VERSION 3.1.0027}
{$CLEO .cs}

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

:NONAME_2
wait 0
if
   Player.Defined($PLAYER_CHAR)
else_jump @NONAME_2
if
   not Actor.Driving($PLAYER_ACTOR)
else_jump @NONAME_2
if
   not Actor.Dead($PLAYER_ACTOR)
else_jump @NONAME_2
if and
0AB0:   key_pressed 88
0AB0:   key_pressed 71
else_jump @NONAME_2
04C4: store_coords_to 1@ 2@ 3@ from_actor $PLAYER_ACTOR with_offset 0.0 0.0 -0.8
jump @NONAME_109

:NONAME_109
wait 0
if
   not Actor.Driving($PLAYER_ACTOR)
else_jump @NONAME_109
if
   not Actor.Dead($PLAYER_ACTOR)
else_jump @NONAME_109
if and
0AB0:   key_pressed 78
0AB0:   key_pressed 71
else_jump @NONAME_237
0669: 4@ = attach_particle "SHOOTLIGHT" to_actor $PLAYER_ACTOR with_offset 0.0 0.0 0.0 flag 1
064C: make_particle 4@ visible
Actor.PutAt($PLAYER_ACTOR, 1@, 2@, 3@)
wait 200
0650: destroy_particle 4@
jump @NONAME_237

:NONAME_237
wait 0
if
   not Actor.Driving($PLAYER_ACTOR)
else_jump @NONAME_237
if
   not Actor.Dead($PLAYER_ACTOR)
else_jump @NONAME_237
if and
0AB0:   key_pressed 88
0AB0:   key_pressed 71
else_jump @NONAME_109
04C4: store_coords_to 1@ 2@ 3@ from_actor $PLAYER_ACTOR with_offset 0.0 0.0 -0.8
jump @NONAME_109

Offline

Board footer

Powered by FluxBB