Napisano dnia: 2013-12-31 13:44:15
Potrzebuje pomocy, zrobiłem mod CLEO, jak było pokazane na tej stronie, wszystko dobrze przepisałem (chodzi o moda z infernusem który cię wozi pod fastfood z pod domu Carla) i działa, ale jest "zabójcza" prędkość tego wozu, 5km/h. To jest kod:
Jedyne co zmnieniłem to że zamiast IFERNUSA jest Taxi.
A problem tkwi w prędkości. W kodzie w 11 linijce jest
Jest tam 150.0 ponieważ zmnieniłem z 5.0. I myślałem że taxi będzie jechało szybciej, ale nie, dalej tak samo! Pomocy!!!
Kod:
// This file was decompiled using SASCM.INI published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007
{$CLEO .cs}
//-------------MAIN---------------
0000: NOP
0247: request_model #TAXI
0247: request_model 182
038B: load_requested_models
00A5: 0@ = create_car #TAXI at 2499.2405 -1682.202 13.3649
0175: set_car 0@ z_angle_to 280.5
00AD: set_car 0@ max_speed_to 150.0
0129: 1@ = create_actor_pedtype 23 model 182 in_car 0@ driverseat
:petla1
wait 10
if and
00E1: player 0 pressed_key 16
00E1: player 0 pressed_key 15
0206: actor $PLAYER_ACTOR near_car 0@ radius 50.0 50.0 30.0 flag 0 on_foot
jf @petla2
05CA: AS_actor $PLAYER_ACTOR enter_car 0@ passenger_seat 0 10000 ms
:petla2
wait 10
if
00DB: actor $PLAYER_ACTOR in_car 0@
jf @petla1
00A7: car 0@ drive_to 2095.6367 -1792.661 13.0752
0A93: end_custom_thread
{$CLEO .cs}
//-------------MAIN---------------
0000: NOP
0247: request_model #TAXI
0247: request_model 182
038B: load_requested_models
00A5: 0@ = create_car #TAXI at 2499.2405 -1682.202 13.3649
0175: set_car 0@ z_angle_to 280.5
00AD: set_car 0@ max_speed_to 150.0
0129: 1@ = create_actor_pedtype 23 model 182 in_car 0@ driverseat
:petla1
wait 10
if and
00E1: player 0 pressed_key 16
00E1: player 0 pressed_key 15
0206: actor $PLAYER_ACTOR near_car 0@ radius 50.0 50.0 30.0 flag 0 on_foot
jf @petla2
05CA: AS_actor $PLAYER_ACTOR enter_car 0@ passenger_seat 0 10000 ms
:petla2
wait 10
if
00DB: actor $PLAYER_ACTOR in_car 0@
jf @petla1
00A7: car 0@ drive_to 2095.6367 -1792.661 13.0752
0A93: end_custom_thread
Jedyne co zmnieniłem to że zamiast IFERNUSA jest Taxi.
A problem tkwi w prędkości. W kodzie w 11 linijce jest
Kod:
00AD: set_car 0@ max_speed_to 150.0
Jest tam 150.0 ponieważ zmnieniłem z 5.0. I myślałem że taxi będzie jechało szybciej, ale nie, dalej tak samo! Pomocy!!!