SA-MP Forums Archive
Getting object's LOD ID - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: Getting object's LOD ID (/showthread.php?tid=380954)



Getting object's LOD ID - Audiophr3ak - 27.09.2012

Im replacing 3 map objects with enterable SA-MP objects:

landbit01_01

Groundbit84_SFS_01

burg_SFS_01


I already removed these objects from the map:
pawn Код:
RemoveBuildingForPlayer(playerid, 10850, -1875.0234, -65.3281, 15.0625, 1.0);//landbit01_sfse
RemoveBuildingForPlayer(playerid, 10938, -1909.5547, 497.2188, 25.7109, 1.0);//groundbit84_sfs
RemoveBuildingForPlayer(playerid, 11092, -2110.8281, -27.3594, 36.9766, 1.0);//burgalrystore_sfs
I tried browsing through map editor, but still can't find their LOD IDs, any suggestions?


Re: Getting object's LOD ID - KingHual - 27.09.2012

Not really sure, but I think RemoveBuildingForPlayer removes the LOD object too.


Re: Getting object's LOD ID - Audiophr3ak - 27.09.2012

Quote:
Originally Posted by king_hual
Посмотреть сообщение
Not really sure, but I think RemoveBuildingForPlayer removes the LOD object too.
No, LODs must be deleted manually (tested many times).


Re: Getting object's LOD ID - iTorran - 27.09.2012

Delete them on SA-MP Map Editor and it should give code for the LOD too


Re: Getting object's LOD ID - Audiophr3ak - 27.09.2012

Quote:
Originally Posted by iTorran
Посмотреть сообщение
Delete them on SA-MP Map Editor and it should give code for the LOD too
I'm already using this map editor, but i can't select a LOD object, because it's not displaying...


Re: Getting object's LOD ID - iTorran - 27.09.2012

You don't need to select a LOD object, if you delete the main object it should include the code for LOD aswell


Re: Getting object's LOD ID - d0 - 27.09.2012

Simple:
- Select Object
- Use "Del" key to remove the object
- Click on "Show Code"


Re: Getting object's LOD ID - Audiophr3ak - 27.09.2012

Quote:
Originally Posted by iTorran
Посмотреть сообщение
You don't need to select a LOD object, if you delete the main object it should include the code for LOD aswell
Thank you, now i see the LOD ID in selected object properties, take your REP+

Quote:
Originally Posted by D0erfler
Посмотреть сообщение
Simple:
- Select Object
- Use "Del" key to remove the object
- Click on "Show Code"
Actually no need to DEL, just double click on object and you can see all info. Thanks for reply anyway