Replacing SA garage doors in SA-MP .DL / open.mp

Started by beckzy, May 21, 2023, 01:40 PM

Previous topic - Next topic

beckzy

There are 54 controllable garage doors in San Andreas. Removing these garage door objects with RemoveBuildingForPlayer works just fine, however, once removed, if you re-add them with Create(Player)Object all nearby players' games will crash.

In open.mp (or SA-MP 0.3.DL) you can "replicate" these objects using AddSimpleModel(Timed) resulting in identical objects, but they DON'T cause crashing!

For those who are interested in using any of the garages and their doors - I've spent some time and prepared a list of each of the game script garage door IDE numbers, model names, and texture names:

  • AMUMIS - Used in mission "Puncture Wounds"
ID - 18553
Model - count_ammundoor
Texture - cunts_gunclub


  • BEACSV - Santa Maria Beach safe house
ID - 6517
Model - santagard_law2
Texture - bev_law2


  • BLOB1 - Redsands East Pay n Spray
ID - 7891
Model - vgwspry1
Texture - vegasbuild


  • BLOB2 - Las Venturas bomb shop
(Note that these doors aren't solid. Los Santos bomb shop door is identical in appearance and IS solid.)
Front door
ID - 7709
Model - vgwbom1
Texture - vgnretail3

Back door
ID - 7707
Model - vgwbom2
Texture - vgnretail3


  • BLOB6 - Redsands West safe house
ID - 7927
Model - vgswsvehse1
Texture - vgwsavehses


  • BLOB69 - Prickle Pine safe house
ID - 7930
Model - vgwsavehsedor
Texture - vegassvehse7


  • BLOB7 - Whitewood Estates safe house
ID - 7931
Model - vgswsvehse04
Texture - vgwsavehses


  • BODLAWN - Los Santos Transfender
ID - 5779
Model - garagdoor1_lawn
Texture - garaged_lawn


  • BRGSFSE - San Fierro burglary garage
ID - 11102
Model - burgalrydoor_sfs
Texture - burgalrystore_sfse


  • BURBDO2 - Dillimore safe house
ID - 13188
Model - burbdoor2
Texture - ce_payspray


  • BURBDOO - Palomino Creek safe house
ID - 13187
Model - burbdoor
Texture - counte_b2


  • BURG_LK - Los Santos burglary garage
ID - 5302
Model - burg_lkupdoor
Texture - lasground_las2


  • CARLAS1 - El Corona safe house
ID - 5061
Model - lascarl
Texture - kbgarage_las


  • CESAFE1 - Mulholland safe house
ID - 13817
Model - ce_safedoor01
Texture - lahills_safe1


  • CESPRAY - Dillimore Pay n Spray
ID - 13028
Model - ce_spraydoor1
Texture - ce_payspray


  • CJSAFE - Ganton safe house
ID - 17951
Model - cjgaragedoor
Texture - contachou1_lae2


  • CN2GAR1 - Fort Carson safe house
ID - 16500
Model - cn2_savgardr1_
Texture - des_stownw


  • CN2GAR2 - Verdant Meadows safe house
ID - 16501
Model - cn2_savgardr2_
Texture - des_byoffice


  • CN2SPRY - Fort Carson Pay n Spray
ID - 3294
Model - cxf_spraydoor1
Texture - cxrf_payspray


  • CNSPRAY - El Quebrados Pay n Spray
(Same IDE number, model, & texture as Fort Carson Pay n Spray)
ID - 3294
Model - cxf_spraydoor1
Texture - cxrf_payspray


  • DHANGAR - Verdant Meadows hangar
Left door
ID - 16775
Model - door_savhangr2
Texture - des_boneyard

Right door
ID - 16773
Model - door_savhangr1
Texture - des_boneyard


  • DUF_LAS - Used in mission "Los Desperados"
ID - 5020
Model - mul_las
Texture - ground4_las


  • FDORSFE - Wuzi's garage
ID - 10150
Model - fdorsfe
Texture - chinatownsfe


  • GHOSTDR - Used in mission "Interdiction"
ID - 16637
Model - ghostgardoor
Texture - oldwest


  • HBGDSFS - Doherty garage #1 left
ID - 11416
Model - hbgdsfs
Texture - oldgarage_sfse


  • IMP_LA - Los Santos impound lot
ID - 3055
Model - kmb_shutter
Texture - kmb_shut


  • IMP_SF - San Fierro impound lot
ID - 10184
Model - sfcopdr
Texture - copshop_sfe


  • IMP_LV - Las Venturas impound lot
(This object is used twice at either side of Las Venturas impound and is the same object used at Los Santos impound)
ID - 3055
Model - kmb_shutter
Texture - kmb_shut


  • LASBOMB - Los Santos bomb shop
ID - 5043
Model - bombdoor_las
Texture - shopliquor_las


  • LCKSFSE - Doherty garage #2 right
ID - 11360
Model - oldgrgedoor4_sfse
Texture - oldgarage_sfse


  • MDS1SFS - Wheels Arch Angels
ID - 10575
Model - modshopdoor1_sfs
Texture - subshops_sfs


  • MDSSFSE - San Fierro Transfender
ID - 11313
Model - modshopdoor_sfse
Texture - carshow_sfse


  • MICHDR - Michelle's garage
ID - 10182
Model - michdr
Texture - fishwarf


  • MODGLAS - Cesar's garage
ID - 5056
Model - modlas
Texture - kbgarage_las


  • MUL_LAN - Used in mission "Life's A Beach"
ID - 4084
Model - jud_lan
Texture - fighot


  • MODLAST - Loco Low Co
ID - 5340
Model - modlas2
Texture - lasground2_las2


  • SAV1SFE - Calton Heights safe house
ID - 10246
Model - sav1sfe
Texture - sfvictorian


  • SAV1SFW - Paradiso safe house
ID - 9823
Model - sav1sfw
Texture - boxybld2_sfw


  • SPRLAE - Idlewood Pay n Spray
ID - 5422
Model - laespraydoor1
Texture - idlewood6_lae


  • SPRLAE - Temple Pay n Spray
ID - 5856
Model - lawnspraydoor1
Texture - garag3_lawn


  • SPLAW2 - Verona Beach Pay n Spray
ID - 6400
Model - spraydoor_law2
Texture - beafron2_law2


  • SPRSFSE - Downtown Pay n Spray
ID - 11319
Model - sprayshpdr2_sfse
Texture - carshow_sfse


  • SPRSFW - Juniper Hollow Pay n Spray
ID - 9625
Model - spdr_sfw
Texture - garage_sfw


  • SVGSFS1 - Hashbury safe house
ID - 10671
Model - savehousegdoor_sfs
Texture - hashblock2_sfs


  • TBON - Used in mission "T-Bone Mendez"
ID - 10558
Model - tbnsfs
Texture - subshops_sfs


  • TIMY1 - Unused Pay n Spray in Royal Casino
ID - 8957
Model - vgsespdr01
Texture - vgsegarage


  • VECMOD - Las Venturas Transfender
ID - 9093
Model - cmdgrgdoor_lvs
Texture - vgselckupgrgdr


  • VESVGRG - Rockshore West safe house
ID - 9099
Model - vgsesvehse1
Texture - vgesvhouse01


  • VGELOCK - Las Venturas burglary garage
ID - 8948
Model - lckupgrgdoor_lvs
Texture - vgselckupgrgdr


  • VGSHNGR - AT-400 hangar
ID - 8378
Model - vgsbighngrdoor
Texture - vgssairportcpark


That's them all, apart from two unlisted garage door used in missions "Ran Fa Li" and "Yay Ka-Boom-Boom":

  • Used in mission "Ran Fa Li"
ID - 10154
Model - pier69gdr
Texture - coastground


  • Used in mission "Yay Ka-Boom-Boom"
(Doesn't cause crashing when replaced)
ID - 10149
Model - bombdoor02
Texture - bombshop_sfe

Powered by EzPortal
SA-MP.mp