Napisano dnia: 2009-03-14 19:11:44
Napisałem dziś skrypt cleo 3 ale gdy odpalam gta pokazuje mi sie raport o błedach czy coś zrobiłem nie tak.
// 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---------------
thread 'HULIGAN'
Model.Load(#BMYTATT)
038B: load_requested_models
$PRZECHODZIEN = Actor.Create(CivMale, #BMYTATT, 2432.808, -1673.986, 13.64767)
:HULIGAN_56
wait 10
if
0104: actor $PLAYER_ACTOR near_actor $PRZECHODZIEN radius 1.0 1.0 1.0 sphere 0
jf @HULIGAN_56
Player.CanMove($PLAYER_CHAR) = False
02A3: enable_widescreen 1
0639: AS_actor $PRZECHODZIEN rotate_to_actor $PLAYER_ACTOR
054C: use_GXT_table 'HULIGAN'
0605: actor $PRZECHODZIEN perform_animation_sequence "IDLE_CHAT" IFP_file "PED" 4.0 loop 1 0 0 0 time 2000 // versionA
00BC: show_text_highpriority GXT 'TXT1' time 2000 flag 1
0605: actor $PLAYER_ACTOR perform_animation_sequence "IDLE_CHAT" IFP_file "PED" 4.0 loop 1 0 0 0 time 2000 // versionA
00BC: show_text_highpriority GXT 'TXT2' time 2000 flag 1
0605: actor $PRZECHODZIEN perform_animation_sequence "IDLE_CHAT" IFP_file "PED" 4.0 loop 1 0 0 0 time 5000 // versionA
00BC: show_text_highpriority GXT 'TXT3' time 5000 flag 1
00BC: show_text_highpriority GXT 'TXT4' time 5000 flag 1
:HULIGAN_301
wait 10
if
00E1: player 0 pressed_key 11
jf @HULIGAN_393
0605: actor $PLAYER_ACTOR perform_animation_sequence "IDLE_CHAT" IFP_file "PED" 4.0 loop 1 0 0 0 time 3500 // versionA
00BC: show_text_highpriority GXT 'TXT3' time 3500 flag 1
Player.CanMove($PLAYER_CHAR) = True
02A3: enable_widescreen 0
jump @HULIGAN_425
:HULIGAN_393
wait 10
if
00E1: player 0 pressed_key 10
jf @HULIGAN_301
Player.CanMove($PLAYER_CHAR) = True
02A3: enable_widescreen 0
:HULIGAN_425
0A93: end_custom_thread
Kod:
// 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---------------
thread 'HULIGAN'
Model.Load(#BMYTATT)
038B: load_requested_models
$PRZECHODZIEN = Actor.Create(CivMale, #BMYTATT, 2432.808, -1673.986, 13.64767)
:HULIGAN_56
wait 10
if
0104: actor $PLAYER_ACTOR near_actor $PRZECHODZIEN radius 1.0 1.0 1.0 sphere 0
jf @HULIGAN_56
Player.CanMove($PLAYER_CHAR) = False
02A3: enable_widescreen 1
0639: AS_actor $PRZECHODZIEN rotate_to_actor $PLAYER_ACTOR
054C: use_GXT_table 'HULIGAN'
0605: actor $PRZECHODZIEN perform_animation_sequence "IDLE_CHAT" IFP_file "PED" 4.0 loop 1 0 0 0 time 2000 // versionA
00BC: show_text_highpriority GXT 'TXT1' time 2000 flag 1
0605: actor $PLAYER_ACTOR perform_animation_sequence "IDLE_CHAT" IFP_file "PED" 4.0 loop 1 0 0 0 time 2000 // versionA
00BC: show_text_highpriority GXT 'TXT2' time 2000 flag 1
0605: actor $PRZECHODZIEN perform_animation_sequence "IDLE_CHAT" IFP_file "PED" 4.0 loop 1 0 0 0 time 5000 // versionA
00BC: show_text_highpriority GXT 'TXT3' time 5000 flag 1
00BC: show_text_highpriority GXT 'TXT4' time 5000 flag 1
:HULIGAN_301
wait 10
if
00E1: player 0 pressed_key 11
jf @HULIGAN_393
0605: actor $PLAYER_ACTOR perform_animation_sequence "IDLE_CHAT" IFP_file "PED" 4.0 loop 1 0 0 0 time 3500 // versionA
00BC: show_text_highpriority GXT 'TXT3' time 3500 flag 1
Player.CanMove($PLAYER_CHAR) = True
02A3: enable_widescreen 0
jump @HULIGAN_425
:HULIGAN_393
wait 10
if
00E1: player 0 pressed_key 10
jf @HULIGAN_301
Player.CanMove($PLAYER_CHAR) = True
02A3: enable_widescreen 0
:HULIGAN_425
0A93: end_custom_thread
___________________