Object Removing
#1

Hi, i have a problem. I can't remove these objects



If someone knows how to solve this problem. Write here how to.

Thanks
Reply
#2

With Map editor,click on them and press delete.
Reply
#3

Did you create those?
If its in the original GTA mappings..I dont think you can, I'm not a mapper but not sure, most likely not.
Reply
#4

Try using RemoveBuildingForPlayer
Reply
#5

Use: https://sampwiki.blast.hk/wiki/RemoveBuildingForPlayer if its a standart mapping and

https://sampwiki.blast.hk/wiki/DestroyObject if you created this objects yourself
Reply
#6

Here's how you do it...
Код:
public OnPlayerUpdate(playerid)
{
	for(new i = 0; i < MAX_PLAYERS; i++)
	if(IsPlayerConnected(i))
	{
	    RemoveBuildingForPlayer(......)
	}
	return 1;
}
Reply
#7

You can use JernejL's map editor https://sampforum.blast.hk/showthread.php?tid=282801 to remove any objects. Then 'Show code' and place it within your gamemode.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)