Getting object's LOD ID
#1

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?
Reply
#2

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

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).
Reply
#4

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

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...
Reply
#6

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

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

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)