Removing Objects
#1

Hi there,

I use RemoveBuildingForPlayer to remove the lifts on the SF Aircraft Carrier under OnPlayerConnect.

I re-create the lifts before removing the default objects under OnGameModeInit, however the newly created objects are removed along with the static objects.

I thought that RemoveBuildingForPlayer only removed static objects and the created objects were ignored by the function. Is there any way i can get round this? I really need to replace them.
Reply
#2

Change object's X, Y, Z by 0.01. Maybe will work.

So 14.4235, 2134.5322, 4231.2121 will be 14.4335, 2134.5422, 4231.2221

At RemoveBuildingForPlayer set the range at 0.008.
Reply
#3

EDIT:

Nevermind, I saw what you needed.

Here is a Filterscript by MP2, that moves them via commands.
https://sampforum.blast.hk/showthread.php?tid=285862
Reply
#4

Thanks for the replies, got it working using costel's method.
Reply
#5

Edit: Working now properly now.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)