SA-MP Forums

Go Back   SA-MP Forums > SA-MP > Bug Reports

Thread Tools Display Modes
Old 16/01/2015, 05:34 PM   #1
Little Clucker
Join Date: Dec 2014
Posts: 4
Reputation: 0
Default GetVehicleComponentType

I find bug, with function GetVehicleComponentType.

Component Front Bumper.



It's a bug?
kissad21 is offline   Reply With Quote
Old 16/01/2015, 10:09 PM   #2
Join Date: Dec 2013
Location: GetPlayerPos(playerid, pos); Scripter/Mapper.
Posts: 3,133
Reputation: 445
Default Re: GetVehicleComponentType

It's because the vehicle doesn't have a front bumper 1175. See:
Abagail is offline   Reply With Quote
Old 17/01/2015, 11:59 AM   #3
Lordzy's Avatar
Join Date: Mar 2012
Location: NetherRealm
Posts: 2,701
Reputation: 1177
Default Re: GetVehicleComponentType

Known Bug: Both front bull bars and front bumper components are saved in the CARMODTYPE_FRONT_BUMPER slot. If a vehicle has both of them installed, this function will only return the one which was installed last.
Currently inactive - I don't play at any SA-MP servers nor work on anything in PAWN for now. The projects that I've done so far in PAWN, which requires updates will be taking some time.
Lordzy is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
GetVehicleComponentType should return other values for Bullbars Raphinity Bug Reports 2 11/01/2013 02:44 AM
GetVehicleComponentType and AddVehicleComponent Ponchik Bug Reports 0 09/05/2011 05:36 PM
[Help] GetVehicleComponentType Jo_123 Help Archive 8 07/02/2010 07:15 PM

All times are GMT. The time now is 09:33 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.