Restricting game objects?
#1

Hi guys.
I'm having a problem here: theres an object that appears in some house ints that is creating errors and then some furniture just vanish. The object is the id 2854 (http://dev.prineside.com/en/gtasa_sa...-gb_bedmags04/) and i would like to remove the object from all locations on the game. Is that possible? if it is could you tell me how to do it?
I would apreciate if u guys could help me

cumpz,
Vasco
Reply
#2

Use RemoveBuildingForPlayer in OnPlayerConnect. Set the coordinates to 0.0, 0.0, 0.0 and the radius to at least 4250. That will remove that model ID everywhere on the map.
Reply
#3

You can try using RemoveBuildingForPlayer from the center of the map with radius 4243 (Pythagorean theorem to include the whole map).

Edit: ^ faster.
Reply
#4

Thanks guys. +REP u both
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)