RemoveBuildingForPlayer
#1

i've got a problem with this function.
basically i've deleted every single object from Pershing Square, and placed my own objects there.
and i've removed this goddamn thing:


everything was right, besides this:


it was still here. i was able to walk through it, but that was all.
it randomly appeared and disappeared if i was in like in 5-15 meters far from it and moved my camera just a little bit.
how can i get rid of it? i do not want to waste my work because of this.
Reply
#2

Did u put RemoveBuildingForPlayer under onplayerconnect?
Reply
#3

of course i did.
Reply
#4

you probably created object id 4186 or 3985... just delete the Create(Dynamic)Object(...
or you have not removed this
RemoveBuildingForPlayer(playerid, 4057, 1479.5547, -1693.1406, 19.5781, 0.25);
RemoveBuildingForPlayer(playerid, 4210, 1479.5625, -1631.4531, 12.0781, 0.25);
RemoveBuildingForPlayer(playerid, 4186, 1479.5547, -1693.1406, 19.5781, 0.25);
RemoveBuildingForPlayer(playerid, 3985, 1479.5625, -1631.4531, 12.0781, 0.25);
Reply
#5

@Kajlle
thank you! it works fine now.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)