How to remove this?
#1

Hello all.
I saw that these "gates" got removed on some servers.I tired to remove them on map editor today,but i saw that they are part of building and can not be removed.Anyone knows how to remove them?!
I searched on ****** but did not find anything on how to remove this!


Reply
#2

RemoveBuildingForPlayer in OnPlayerConnect

recommend using this map editor: https://sampforum.blast.hk/showthread.php?tid=282801


for example, this removes vending machines
PHP код:
    RemoveBuildingForPlayer(playerid955,0,0,09000);
    
RemoveBuildingForPlayer(playerid956,0,0,09000);
    
RemoveBuildingForPlayer(playerid1209,0,0,09000);
    
RemoveBuildingForPlayer(playerid1302,0,0,09000);
    
RemoveBuildingForPlayer(playerid1775,0,0,09000);
    
RemoveBuildingForPlayer(playerid1776,0,0,09000); 
Reply
#3

Quote:
Originally Posted by CutX
Посмотреть сообщение
RemoveBuildingForPlayer in OnPlayerConnect

reccomend using this map editor: https://sampforum.blast.hk/showthread.php?tid=282801
I use that map editor.The problem is that these gates are part of buildings.So if you try to delete them...whole building will get deleted.
Reply
#4

Quote:
Originally Posted by daghost111
Посмотреть сообщение
I use that map editor.The problem is that these gates are part of buildings.So if you try to delete them...whole building will get deleted.
then you can't remove the gate if its part of the whole thing. done.


you know... i think i also wanted to remove the gate from the 2nd screenshot in the past
but also found out that it couldn't be done :/
would've been cool... i remember i wanted to replace it with a moving gate so i could open/close it
but nah not happening
Reply
#5

Quote:
Originally Posted by CutX
Посмотреть сообщение
then you can't remove the gate if its part of the whole thing. done.
I saw them removed on some servers.Thats why im asking.
Thanks for reply!
Reply
#6

Well, I am not so experienced with "objects games", but I think something with the object materials could do affect.
Reply
#7

Quote:
Originally Posted by daghost111
Посмотреть сообщение
I saw them removed on some servers.Thats why im asking.
Thanks for reply!
well, just like you said, the gate is connected to the whole thing
i.e ground+walls as you can see here http://pasteboard.co/1hXsaBEJd.png

so you really can't remove jsut the gate itself.
but what you could do is remove it and add some ground and walls yourself
you could then even retexture the objects you used to make it look like it's the actual wall + ground from before
Reply
#8

Quote:
Originally Posted by CutX
Посмотреть сообщение
well, just like you said, the gate is connected to the whole thing
i.e ground+walls as you can see here http://pasteboard.co/1hXsaBEJd.png

so you really can't remove jsut the gate itself.
but what you could do is remove it and add some ground and walls yourself
you could then even retexture the objects you used to make it look like it's the actual wall + ground from before
THIS IS WHAT IM TALKING ABOUT


Reply
#9

Some objects were remodeled with the gates removed so that you can remove the original game object and create your own in its place. I know for a fact that this is the case with the Area 51 fence and the LS prison thing you've shown in your screenshot. Not sure about the other building.
Reply
#10

Quote:
Originally Posted by Vince
Посмотреть сообщение
Some objects were remodeled with the gates removed so that you can remove the original game object and create your own in its place. I know for a fact that this is the case with the Area 51 fence and the LS prison thing you've shown in your screenshot. Not sure about the other building.
But how? xD
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)