Postów:
3
Dołączył:
2010-11-11
Napisano dnia: 2010-12-19 15:44:02
Mam pytanie:
Jak odczepiać naczepy w TIR'ach ?
Nienawidzę w Rockstarze tego że nie dają tego w instrukcji XD.
Postów:
628
Dołączył:
2009-01-22
Napisano dnia: 2010-12-19 16:17:10
Nie da się tak normalnie. Ale podobno jest trik, że trzeba zrobić ciężarówce zdjęcie, czy coś - wtedy się odczepia. Da się to też zrobić CLEO modem, napisałem niedanwo taką funkcję, trzeba by ją było tylko obrać w skrypt. Za chwilę go napiszę i zedytuję posta.
Edit:
Łap:
Kod:
{$CLEO}
0000: TRAILER
while true
wait 0
if
0256: player 0 defined
then
if
00DF: actor $PLAYER_ACTOR driving
then
if
00E1: player 0 pressed_key 19
then
0811: 0@ = actor $PLAYER_ACTOR car_nosave
if
0AB1: call_scm_func @GetTrailerAttachedToCar 1 from car 0@ store_to 1@ // IF and SET
then
07AC: detach_trailer 1@ from_cab 0@
end
end
end
end
end
:GetTrailerAttachedToCar
{
Parameters:
Passed:
0@ - Car handle
Result:
1@ - Attached trailer handle
Example:
if 0AB1: call_scm_func @GetTrailerAttachedToCar 1 from car 0@ store_to 1@ // IF and SET
}
0A8D: 3@ = read_memory 0xB74494 size 4 virtual_protect 0
000A: 3@ += 0x4
0A8D: 3@ = read_memory 3@ size 4 virtual_protect 0
for 1@ = 0x0 to 0x6D00 step 0x100
0A8D: 2@ = read_memory 3@ size 1 virtual_protect 0
000A: 3@ += 0x1
if and
0029: 2@ >= 0x0
001B: 0x80 > 2@
then
005A: 2@ += 1@ // (int)
if
07AB: car 0@ has_attached_trailer 2@
then
break
end
end
end
0AB2: ret 1 2@
Skompilowany skrypt:
http://www.speedyshare.com/files/25790136/trailer.cs
Naczepę/auto na haku odczepiasz klawiszem R3 (domyślnie 2, uruchomienie misji taksiarza, policjanta itp.).
___________________
Moderator