Removing area69 gates
#1

Hey!

Can someone help me, I'm trying to remove the area69 gates but is doesn't work right.
I removed the object but then all my gates where gone..
And the MTA Map editor is to not an option, my pc does not accept the disk..

Any help?
Reply
#2

You should make a smaller range(e.g radius) in RemoveBuildingForPlayer..
Reply
#3

I have tested lots of ranges but it doesn't work..

My code: RemoveBuildingForPlayer(playerid, 19312, 135.19, 1941.17, 19.31, 15);

But it still doens't work..
Reply
#4

I think "15" radios isn't that large.. But I searched that object ID and here it is


That code will remove that whole object.. Not just the gate.. Isn't that your problem ? I think you can't remove the gate without removing the rest of the object..
Reply
#5

Well.. 19313 is THE gate...
So I'm trying but it still wont .
How do i need to chang the map then?
Reply
#6

You're right.. Object 19313:

Then use
pawn Код:
RemoveBuildingForPlayer(playerid, 19313, 135.19, 1941.17, 19.31, 15);
Make sure the X-Y-Z are correct.. Try it and reply to me.
Reply
#7

try
removing the old object
PHP код:
RemoveBuildingForPlayer(playerid16094191.14061870.039121.47660.25); 
and create a new one, without gates:
PHP код:
CreateObject(19312191.141870.0421.48,   0.000.000.00); 
//EDIT: just tested, works
Reply
#8

Realy thankyou!
I'm trying this right now!

EDIT: It's working so so so thankyou!!
Reply
#9

You can use this Editor:https://sampforum.blast.hk/showthread.php?tid=282801
But if you can't use that editor what i'm saying. Then do this method what the other says .
Reply
#10

Quote:
Originally Posted by dakata994
Посмотреть сообщение
You can use this Editor:https://sampforum.blast.hk/showthread.php?tid=282801
But if you can't use that editor what i'm saying. Then do this method what the other says .
My computer says my videocard is too bad..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)