SA:MP Map Construction - Remove fully SA -
DanielsCZ - 04.04.2017
Hi everybody.. I need little help. I tried delete fully SA map.
You can delete it, when you add to gamemode line this:
RemoveBuildingForPlayer(playerid, -1, 0.0, 0.0, 0.0, 6000.0);
But if i add to the Map Construction it's not working.. Can anyone help me? I want create own city and I need for it this...
//Sorry for my english =D
Re: SA:MP Map Construction - Remove fully SA -
Vin Diesel - 04.04.2017
Hi Daniels, because
Код:
RemoveBuildingForPlayer(playerid, (this the object id)-1 <, 0.0, 0.0, 0.0, 6000.0);
so you can't use -1 in that field.
It will work if your code is correct
Код:
like RemoveBuildingForPlayer(playerid, This the object id>> 16591<<, 205.4922, 1730.3516, 17.8281, 0.25);
So your code should be like this
Код:
RemoveBuildingForPlayer(playerid, 16591, 205.4922, 1730.3516, 17.8281, 0.25);
Can you post one code from you want to import on the MAP Construction ?
Re: SA:MP Map Construction - Remove fully SA -
AndreiWow - 04.04.2017
There is one problem, if you create a new map, cars will fall through it, it will stream when you are close so probably alot of things wont be visible from far away as they are right now.
Re: SA:MP Map Construction - Remove fully SA -
DanielsCZ - 21.04.2017
Not working. I need remove all objects in the game. If I this code add in server, it's work and all objects all removed. But if i post this code in Map Construction, it's not working. And
RemoveBuildingForPlayer(playerid, 16591, 205.4922, 1730.3516, 17.8281, 0.25);
this not working, too.
Any idea?
(by the way, sorry for my english, i know it's not the best...)
Re: SA:MP Map Construction - Remove fully SA -
TheRealSphinx - 22.04.2017
I think its currently not possible to remove all objects.
To much efort to get this working by your own.
Kind regards
Sphinx
Re: SA:MP Map Construction - Remove fully SA -
Dignity - 22.04.2017
EDIT: I didn't read the topic properly. Sorry guys!
Re: SA:MP Map Construction - Remove fully SA -
DanielsCZ - 04.06.2017
Okey, I used this code:
Quote:
RemoveBuildingForPlayer(playerid, -1, 0.0, 0.0, 0.0, 6000.0);
|
Just put it to the filterscript. It's not working for Map Construction, but in Texture Studio it's awesome.
Re: SA:MP Map Construction - Remove fully SA -
JasonRiggs - 04.06.2017
If you tried to add it as paste it won't work, You need to copy all the "RemoveBuildingForPlayer" to a.pwn without putting it under OnGameModeInIt or anything, and save it but don't compile, go to the map construction and do "import.pwn" and it will work.