Deleting entrance to garage in SF
#1

Hi, I was wondering if there is any way to delete entrance to garage in SF near train station. I know that i should use https://sampwiki.blast.hk/wiki/RemoveBuildingForPlayer
Reply
#2

Use a tool to get the coordinates.

https://sampforum.blast.hk/showthread.php?tid=282801

After you get them post them under
Код:
public OnPlayerConnect(playerid)
, like
Код:
RemoveBuildingForPlayer(playerid, ......
Hope this helps.
Reply
#3

Yes i know, but how to find out what object id i should remove ? And what if the gate is attached to whole garage object?
Reply
#4

You can remove any object i think. But i'm not 100% sure.
Reply
#5

Let me get on my PC and I'll do it for you. Expect a PM or a reply here soon.
Reply
#6

Use this: https://sampforum.blast.hk/showthread.php?tid=282801
Select the object in the editor, press 'delete', then click on 'Generate code' and copy that to your script.
Reply
#7

pawn Код:
RemoveBuildingForPlayer(playerid, 11327, -2026.9141, 129.4063, 30.4531, 0.25);

pawn Код:
RemoveBuildingForPlayer(playerid, 11313, -1935.8594, 239.5313, 35.3516, 0.25);

pawn Код:
RemoveBuildingForPlayer(playerid, 11319, -1904.5313, 277.8984, 42.9531, 0.25);


These are the ones that worked without completely messing up your whole game.
Reply
#8

Thanks all
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)