You are not logged in.
Пытюсь что-нить написать в GTA3:
:MAIN_138 0001: wait 1000 ms 0054: store_player $PLAYER_CHAR position_to 0@ 1@ 2@ 05EF: 3@ = random_actor_near_point 0@ 1@ 2@ in_radius 50.0 find_next 1 pass_deads 0 //IF and SET //0376: 3@ = create_random_actor 0@ 1@ 2@ //01C2: remove_references_to_actor 3@ // Like turning an actor into a random pedestrian 00D6: if 3@ != -1 then 0001: wait 200 ms 01D1: actor 3@ follow_actor $PLAYER_CHAR end 0002: jump @MAIN_138
Вообщем, не срабатывает код проверки,
00D6: if 3@ != -1
А может быть random_actor_near_point в случае не удачи и не должна возвращать "-1" ?
Last edited by XotaBi4b (19-05-2012 23:05)
GTA SA CrashKiller by MadniX , Virtual_Key_Codes for opcode 0AB0
Offline