SA-MP Forums

SA-MP Forums (https://forum.sa-mp.com/index.php)
-   Scripting Help (https://forum.sa-mp.com/forumdisplay.php?f=12)
-   -   how remove objects added by SA-MP? (https://forum.sa-mp.com/showthread.php?t=608366)

aoEXE 31/05/2016 07:07 AM

how remove objects added by SA-MP?
 
At start any server, SA-MP adds objects to GTA map (isn't gamemode).

how remove this objects?:rolleyes:

Amunra 31/05/2016 07:10 AM

Re: how remove objects added by SA-MP?
 
Quote:

Originally Posted by aoEXE (Post 3708205)
At start any server, SA-MP adds objects to GTA map (isn't gamemode).

how remove this objects?:rolleyes:

RemoveBuildingForPlayer !!
Read More on Wiki SAMP

Dayrion 31/05/2016 10:26 AM

Re: how remove objects added by SA-MP?
 
SA:MP didn't added any objects on the map. They added skins. If you want remove BUILD use RemoveBuildingForPlayer(playerid, modelid, Float:fX, Float:fY, Float:fZ, Float:fRadius) like Amunra said.

aoEXE 31/05/2016 11:58 AM

Respuesta: Re: how remove objects added by SA-MP?
 
Quote:

Originally Posted by Amunra (Post 3708206)
RemoveBuildingForPlayer !!
Read More on Wiki SAMP

Quote:

Originally Posted by Dayrion (Post 3708249)
SA:MP didn't added any objects on the map. They added skins. If you want remove BUILD use RemoveBuildingForPlayer(playerid, modelid, Float:fX, Float:fY, Float:fZ, Float:fRadius) like Amunra said.

WOW, how didn't I think?

I'm not stupid or ignorant programming, much less for GTA SA and / or SA-MP.

if you want to check it, use Map editor to these coordinates (221.9614, 1239.0225, 1083.6190) and then enters the game and see those same coordinates with a game mode of 0.

I can not delete these objects with RemoveBuildingForPlayer because they are not standard models GTA SA, nor with DestroyObject because I have the objectid.

Dayrion 31/05/2016 12:12 PM

Re: how remove objects added by SA-MP?
 
Put a screen here. Btw you don't need to be rude when we are trying to help you..

aoEXE 31/05/2016 12:28 PM

Respuesta: Re: how remove objects added by SA-MP?
 
Quote:

Originally Posted by Dayrion (Post 3708290)
Put a screen here. Btw you don't need to be rude when we are trying to help you..

The gamemode is completely made by me from new file, if they have doubt.

http://i.imgur.com/ZiVXdjO.png

http://i.imgur.com/FYAmQ9K.png

Sew_Sumi 31/05/2016 12:57 PM

Re: how remove objects added by SA-MP?
 
Wow, just wow...



This is a normal interior by the looks.

RemoveBuildingForPlayer(playerid, 14717, 222.8281, 1245.8359, 1082.8750, 0.25);

There is the line you'd also have got from the editor on how to delete it...


If you also looked around, there's like 10 interiors around this.

aoEXE 31/05/2016 01:03 PM

Respuesta: Re: how remove objects added by SA-MP?
 
Quote:

Originally Posted by Sew_Sumi (Post 3708312)
Wow, just wow...



This is a normal interior by the looks.

RemoveBuildingForPlayer(playerid, 14717, 222.8281, 1245.8359, 1082.8750, 0.25);

There is the line you'd also have got from the editor on how to delete it...


If you also looked around, there's like 10 interiors around this.

I know that.
I don't want to remove the interior, I want to remove furniture and objects created within it without having to re-build it.

Dayrion 31/05/2016 01:13 PM

Re: how remove objects added by SA-MP?
 
Like Sew_Sumi said it's a normal interior so you can't remove any object. You can get this interior in GTA SA solo player.

aoEXE 31/05/2016 01:15 PM

Respuesta: how remove objects added by SA-MP?
 
Does anyone know what I mean?


All times are GMT. The time now is 12:34 AM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.