GTAvision.com - Forum - Grand Theft Auto News, Downloads, Community and more...
Position: Grand Theft Auto: San Andreas » Editing » Realization of behavior of vagabonds. » Druckansicht
|
dyom, 14.12.2011, 08:38
|
Here has riveted a script which realizes behavior of vagabonds at night. Now at night they sleep. The matter is that the script yet doesn't work Your help is necessary! Here a script code:
Code: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
| 0000: NOP :NONAME_1 wait 100 00BF: $TIME_HOURS = current_time_hours, $TIME_MINS = current_time_minutes if or $TIME_HOURS >= 23 6 > $TIME_HOURS jf @NONAME_1 04ED: load_animation "CRACK" jump @NONAME_2
:NONAME_2 wait 0 if Player.Defined($PLAYER_CHAR) jf @NONAME_2 04EE: animation "CRACK" loaded jf @NONAME_2 if and $ONMISSION == 0 not Actor.Driving($PLAYER_ACTOR) jf @NONAME_2 Actor.Defined(1@) Actor.Defined(2@) Actor.Defined(3@) Actor.Defined(4@) Actor.Defined(5@) Actor.Defined(6@) Actor.Defined(7@) Actor.Defined(8@) jf @NONAME_2 if or Actor.Model(1@) == #BMOTR1 Actor.Model(2@) == #WMOTR1 Actor.Model(3@) == #SWMOTR3 Actor.Model(4@) == #SBMYTR3 Actor.Model(5@) == #SWMOTR2 Actor.Model(6@) == #SBMOTR2 Actor.Model(7@) == #SWMOTR5 Actor.Model(8@) == #SWMOTR4 jf @NONAME_2 0605: actor 1@ perform_animation_sequence "CRCKIDLE2" IFP_file "CRACK" 4.0 loop 1 0 0 0 time 1111000 // versionA 0605: actor 2@ perform_animation_sequence "CRCKIDLE2" IFP_file "CRACK" 4.0 loop 1 0 0 0 time 1111000 // versionA 0605: actor 3@ perform_animation_sequence "CRCKIDLE2" IFP_file "CRACK" 4.0 loop 1 0 0 0 time 1111000 // versionA 0605: actor 4@ perform_animation_sequence "CRCKIDLE2" IFP_file "CRACK" 4.0 loop 1 0 0 0 time 1111000 // versionA 0605: actor 5@ perform_animation_sequence "CRCKIDLE2" IFP_file "CRACK" 4.0 loop 1 0 0 0 time 1111000 // versionA 0605: actor 6@ perform_animation_sequence "CRCKIDLE2" IFP_file "CRACK" 4.0 loop 1 0 0 0 time 1111000 // versionA 0605: actor 7@ perform_animation_sequence "CRCKIDLE2" IFP_file "CRACK" 4.0 loop 1 0 0 0 time 1111000 // versionA 0605: actor 8@ perform_animation_sequence "CRCKIDLE2" IFP_file "CRACK" 4.0 loop 1 0 0 0 time 1111000 // versionA jf @NONAME_2 wait 0 jf @NONAME_2
:NONAME_4 wait 600 Actor.RemoveReferences(1@) Actor.RemoveReferences(2@) Actor.RemoveReferences(3@) Actor.RemoveReferences(4@) Actor.RemoveReferences(5@) Actor.RemoveReferences(6@) Actor.RemoveReferences(7@) Actor.RemoveReferences(8@) 04EF: release_animation "CRACK" jump @NONAME_2 |
Excuse me for my English I Russian
|