How can i delete these sprunk - 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: How can i delete these sprunk (
/showthread.php?tid=617370)
How can i delete these sprunk -
thienle7090 - 20.09.2016
I want delete them so that players can not drink the water from the sprunk to healing
Re: How can i delete these sprunk -
Luis- - 20.09.2016
pawn Код:
RemoveBuildingForPlayer(playerid, 1302, 0.0, 0.0, 0.0, 6000.0);
RemoveBuildingForPlayer(playerid, 1209, 0.0, 0.0, 0.0, 6000.0);
RemoveBuildingForPlayer(playerid, 955, 0.0, 0.0, 0.0, 6000.0);
RemoveBuildingForPlayer(playerid, 1755, 0.0, 0.0, 0.0, 6000.0);
RemoveBuildingForPlayer(playerid, 1776, 0.0, 0.0, 0.0, 6000.0);
A simple search would of given you these.
Re: How can i delete these sprunk -
thienle7090 - 20.09.2016
Quote:
Originally Posted by Luis-
pawn Код:
RemoveBuildingForPlayer(playerid, 1302, 0.0, 0.0, 0.0, 6000.0); RemoveBuildingForPlayer(playerid, 1209, 0.0, 0.0, 0.0, 6000.0); RemoveBuildingForPlayer(playerid, 955, 0.0, 0.0, 0.0, 6000.0); RemoveBuildingForPlayer(playerid, 1755, 0.0, 0.0, 0.0, 6000.0); RemoveBuildingForPlayer(playerid, 1776, 0.0, 0.0, 0.0, 6000.0);
A simple search would of given you these.
|
but player can still prees "F" to drink although i delete object
Re: How can i delete these sprunk -
thienle7090 - 20.09.2016
any idea
Re: How can i delete these sprunk -
thienle7090 - 20.09.2016
oh and removebuildingforplayer not work
Re: How can i delete these sprunk -
thienle7090 - 20.09.2016
up !!
Re: How can i delete these sprunk -
GoldenLion - 20.09.2016
Don't bump your topic so many times.
Also, where did you put the RemoveBuildingForPlayer? You need to put it under OnPlayerConnect.