Vehicle Panels in 0.3e
#1

Is it possible to effect the panels with UpdateVehicleDamageStatus?

I am following the wiki but not having any luck. The doors and tires are working fine.
Reply
#2

Something like this?
pawn Код:
new panels, doors, lights, tires;
                    new carid = GetPlayerVehicleID(playerid);
                    GetVehicleDamageStatus(carid, panels, doors, lights, tires);
                    UpdateVehicleDamageStatus(carid, panels, doors, lights, 15);
Reply
#3

Quote:
Originally Posted by Faisal_khan
Посмотреть сообщение
Something like this?
pawn Код:
new panels, doors, lights, tires;
                    new carid = GetPlayerVehicleID(playerid);
                    GetVehicleDamageStatus(carid, panels, doors, lights, tires);
                    UpdateVehicleDamageStatus(carid, panels, doors, lights, 15);
Yes...that is right, but it is no answer to my question. Have you tried to affect panels with that function? I have and see no effect.
Reply
#4

Quote:

Have you tried to affect panels with that function? I have and see no effect.

Bump!
Gotta say it's kinda true...
The only thing that you can get are the bumpers. I can't remove windshield. (0.3.7-R2)
Doors, lights and tires are working like a charm but panels not really...
I have been playing around with it for couple hours and without any result...
Reply
#5

Quote:
Originally Posted by NunakPL
Посмотреть сообщение
Bump!
Gotta say it's kinda true...
The only thing that you can get is the rear bumper. Nothing more! (0.3.7-R2)
Doors, lights and tires are working like a charm but panels are bugged...
I have been playing around with those bytes for couple hours and without any result...

Edit: After posting this thing I just have figured out where was the issue...
Really?

6 yrs old

"Posted 13.05.2012, 16:20"

0.3.7-R2 wasn't even out then lol
Reply
#6

Quote:
Originally Posted by IdonTmiss
Посмотреть сообщение
Really?

6 yrs old

"Posted 13.05.2012, 16:20"

0.3.7-R2 wasn't even out then lol
Hey captain obvious...
I meant that case is still unsolved...

Panels => (Seven quintets)

0b 0000 0000 0000 0000 0000 0000 0000

Rear bumper, // 0000 => undamaged, 0001 => damaged, 0010 => damaged and swinging, 0011 => none
Front bumper, // 0000 => undamaged, 0001 => damaged, 0010 => damaged and swinging, 0011 => none
windshield, // 0000 => undamaged, 0001 => undamaged, 0010 => undamaged, 0011 => undamaged ...
rear right panel,
rear left panel,
front right panel,
front left panel

I just tried to remove rear bumper, front bumper and windshield...

0b 0011 0011 0011 0000 0000 0000 0000

(panels | 0b0011001100110000000000000000)

After couple hours of playing with it the only thing I could remove was bumpers or making windshield undestructible. I have no clue why the code above is not working as the rest of it...

EDIT: Results =>

Windshield is gone (theoretically) but still shows the windshield though.
I thought it's undestructible windshield but nope.
It's bugged. :T
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)