You are not logged in.
Pages: 1
Sorry for my topic's rush guys but i have a stupid problem
I just want to make the player go +90.0 m up and + 25.0 in front but it doesnt work !
This is not all the script but here it doesn't works ,it goes forward but not up (in air) !
wait 0
if and
0AB0: key_pressed 9
0AB0: key_pressed 87
0819: 0@ = actor $PLAYER_ACTOR distance_from_ground
0@ > 5.0
jf @swing_1
0992: set_player $PLAYER_CHAR weapons_scrollable 0
0812: AS_actor $PLAYER_ACTOR perform_animation "DROWN" IFP_file "PED" 4.0 loopA 0 lockX 1 lockY 1 lockF 0 time 500 // versionB
0393: actor $PLAYER_ACTOR perform_animation "DROWN" at 0.01 times_normal_rate
wait 25
0614: set_actor $PLAYER_ACTOR animation "DROWN" progress_to 0.20
Actor.StorePos($PLAYER_ACTOR, 1@, 2@, 3@)
04C4: store_coords_to 4@ 5@ 6@ from_actor $PLAYER_ACTOR with_offset 0.0 25.0 0.0
0063: 4@ -= 1@ // (float)
0063: 5@ -= 2@ // (float)
083C: set_actor $PLAYER_ACTOR velocity_in_direction_XYZ 4@ 5@ 90.0
0612: set_actor $PLAYER_ACTOR animation "DROWN" paused 1
.............
Please help !
Offline
Anyone ... ?
Offline
Anyone ... ?
opcode 083C: should run in a loop
or just try this:
04C4: store_coords_to 4@ 5@ 6@ from_actor $PLAYER_ACTOR with_offset 0.0 25.0 0.0 0063: 4@ -= 1@ // (float) 0063: 5@ -= 2@ // (float) 083C: set_actor $PLAYER_ACTOR velocity_in_direction_XYZ 4@ 5@ 90.0 wait 250 083C: set_actor $PLAYER_ACTOR velocity_in_direction_XYZ 4@ 5@ 90.0 wait 250 083C: set_actor $PLAYER_ACTOR velocity_in_direction_XYZ 4@ 5@ 90.0 wait 250 083C: set_actor $PLAYER_ACTOR velocity_in_direction_XYZ 4@ 5@ 90.0 wait 250 083C: set_actor $PLAYER_ACTOR velocity_in_direction_XYZ 4@ 5@ 90.0 wait 250 083C: set_actor $PLAYER_ACTOR velocity_in_direction_XYZ 4@ 5@ 90.0
Offline
Pages: 1