SA-MP Forums Archive
Removing area69 gates - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Removing area69 gates (/showthread.php?tid=482935)



Removing area69 gates - trukker1998 - 23.12.2013

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?


Re: Removing area69 gates - xVIP3Rx - 23.12.2013

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


Re: Removing area69 gates - trukker1998 - 24.12.2013

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..


Re: Removing area69 gates - xVIP3Rx - 24.12.2013

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..


Re: Removing area69 gates - trukker1998 - 24.12.2013

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


Re: Removing area69 gates - xVIP3Rx - 24.12.2013

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.


Re: Removing area69 gates - CutX - 24.12.2013

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



Re: Removing area69 gates - trukker1998 - 24.12.2013

Realy thankyou!
I'm trying this right now!

EDIT: It's working so so so thankyou!!


Re: Removing area69 gates - dakata994 - 24.12.2013

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 .


Re: Removing area69 gates - trukker1998 - 24.12.2013

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..