beckzy's FR/RPG

Announcements & Information => Information => Topic started by: beckzy on May 21, 2023, 01:40 PM

Title: Replacing SA garage doors in SA-MP .DL / open.mp
Post by: beckzy on May 21, 2023, 01:40 PM
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:

ID - 18553
Model - count_ammundoor
Texture - cunts_gunclub


ID - 6517
Model - santagard_law2
Texture - bev_law2


ID - 7891
Model - vgwspry1
Texture - vegasbuild


(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


ID - 7927
Model - vgswsvehse1
Texture - vgwsavehses


ID - 7930
Model - vgwsavehsedor
Texture - vegassvehse7


ID - 7931
Model - vgswsvehse04
Texture - vgwsavehses


ID - 5779
Model - garagdoor1_lawn
Texture - garaged_lawn


ID - 11102
Model - burgalrydoor_sfs
Texture - burgalrystore_sfse


ID - 13188
Model - burbdoor2
Texture - ce_payspray


ID - 13187
Model - burbdoor
Texture - counte_b2


ID - 5302
Model - burg_lkupdoor
Texture - lasground_las2


ID - 5061
Model - lascarl
Texture - kbgarage_las


ID - 13817
Model - ce_safedoor01
Texture - lahills_safe1


ID - 13028
Model - ce_spraydoor1
Texture - ce_payspray


ID - 17951
Model - cjgaragedoor
Texture - contachou1_lae2


ID - 16500
Model - cn2_savgardr1_
Texture - des_stownw


ID - 16501
Model - cn2_savgardr2_
Texture - des_byoffice


ID - 3294
Model - cxf_spraydoor1
Texture - cxrf_payspray


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


Left door
ID - 16775
Model - door_savhangr2
Texture - des_boneyard

Right door
ID - 16773
Model - door_savhangr1
Texture - des_boneyard


ID - 5020
Model - mul_las
Texture - ground4_las


ID - 10150
Model - fdorsfe
Texture - chinatownsfe


ID - 16637
Model - ghostgardoor
Texture - oldwest


ID - 11416
Model - hbgdsfs
Texture - oldgarage_sfse


ID - 3055
Model - kmb_shutter
Texture - kmb_shut


ID - 10184
Model - sfcopdr
Texture - copshop_sfe


(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


ID - 5043
Model - bombdoor_las
Texture - shopliquor_las


ID - 11360
Model - oldgrgedoor4_sfse
Texture - oldgarage_sfse


ID - 10575
Model - modshopdoor1_sfs
Texture - subshops_sfs


ID - 11313
Model - modshopdoor_sfse
Texture - carshow_sfse


ID - 10182
Model - michdr
Texture - fishwarf


ID - 5056
Model - modlas
Texture - kbgarage_las


ID - 4084
Model - jud_lan
Texture - fighot


ID - 5340
Model - modlas2
Texture - lasground2_las2


ID - 10246
Model - sav1sfe
Texture - sfvictorian


ID - 9823
Model - sav1sfw
Texture - boxybld2_sfw


ID - 5422
Model - laespraydoor1
Texture - idlewood6_lae


ID - 5856
Model - lawnspraydoor1
Texture - garag3_lawn


ID - 6400
Model - spraydoor_law2
Texture - beafron2_law2


ID - 11319
Model - sprayshpdr2_sfse
Texture - carshow_sfse


ID - 9625
Model - spdr_sfw
Texture - garage_sfw


ID - 10671
Model - savehousegdoor_sfs
Texture - hashblock2_sfs


ID - 10558
Model - tbnsfs
Texture - subshops_sfs


ID - 8957
Model - vgsespdr01
Texture - vgsegarage


ID - 9093
Model - cmdgrgdoor_lvs
Texture - vgselckupgrgdr


ID - 9099
Model - vgsesvehse1
Texture - vgesvhouse01


ID - 8948
Model - lckupgrgdoor_lvs
Texture - vgselckupgrgdr


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":

ID - 10154
Model - pier69gdr
Texture - coastground


(Doesn't cause crashing when replaced)
ID - 10149
Model - bombdoor02
Texture - bombshop_sfe