SA-MP Forums Archive
RemoveBuildingForPlayer bugged? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: RemoveBuildingForPlayer bugged? (/showthread.php?tid=381481)



RemoveBuildingForPlayer bugged? - jeremy8810 - 29.09.2012

Hi guys I just removed the gates at SF driving school but now I see a brown thing ingame. Sometimes when I move my screen its not there but sometimes it is... (see attachment)

So what can I do? I use RemoveBuidlingForPlayer more, but only I have it on this place....
I used:
pawn Код:
RemoveBuildingForPlayer(playerid, 11014,-2076.39990234,-108.00000000,37.00000000, 50.0); // Sf driving school entrance
Its on: OnPlayerConnect


Re: RemoveBuildingForPlayer bugged? - gtakillerIV - 29.09.2012

Add it under OnPlayerSpawn see if anything changes.


Re: RemoveBuildingForPlayer bugged? - jeremy8810 - 29.09.2012

Quote:
Originally Posted by gtakillerIV
Посмотреть сообщение
Add it under OnPlayerSpawn see if anything changes.
Nope still the same... I allready set the range a bit smaller to : 0.25

But its still...


Re: RemoveBuildingForPlayer bugged? - N0FeaR - 29.09.2012

Quote:
Originally Posted by jeremy8810
Посмотреть сообщение
Hi guys I just removed the gates at SF driving school but now I see a brown thing ingame. Sometimes when I move my screen its not there but sometimes it is... (see attachment)

So what can I do? I use RemoveBuidlingForPlayer more, but only I have it on this place....
I used:
pawn Код:
RemoveBuildingForPlayer(playerid, 11014,-2076.39990234,-108.00000000,37.00000000, 50.0); // Sf driving school entrance
Its on: OnPlayerConnect
Try this under OnplayerConnect

Код:
RemoveBuildingForPlayer(playerid, 11372, -2076.4375, -107.9297, 36.9688, 0.25);
RemoveBuildingForPlayer(playerid, 11014, -2076.4375, -107.9297, 36.9688, 0.25);



Re: RemoveBuildingForPlayer bugged? - jeremy8810 - 29.09.2012

Quote:
Originally Posted by N0FeaR
Посмотреть сообщение
Try this under OnplayerConnect

Код:
RemoveBuildingForPlayer(playerid, 11372, -2076.4375, -107.9297, 36.9688, 0.25);
RemoveBuildingForPlayer(playerid, 11014, -2076.4375, -107.9297, 36.9688, 0.25);
Thanks that helped a lot! Only have to map some ground in front there now, but thanks!
+rep