Is it possible to remove this..? - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Is it possible to remove this..? (
/showthread.php?tid=148090)
Is it possible to remove this..? -
IVuljak - 15.05.2010
Is it possible to disable singleplayer gambling in casinos:
is it possible?
Re: Is it possible to remove this..? -
Joe Staff - 15.05.2010
I think that DisableInteriorEnterExits does that.
Re: Is it possible to remove this..? -
ViruZZzZ_ChiLLL - 15.05.2010
pawn Код:
public OnFilterScriptInit()
{
DisableInteriorEnterExits();
return 1;
}
Re: Is it possible to remove this..? -
IVuljak - 15.05.2010
I did that but still I can use them
Re: Is it possible to remove this..? -
ViruZZzZ_ChiLLL - 15.05.2010
Quote:
Originally Posted by WeA
I did that but still I can use them 
|
They can't be removed, I think

I also want to remove them :<
Re: Is it possible to remove this..? -
Steven82 - 15.05.2010
Are you talking about the objects? If so then no, you can't remove them.
Re: Is it possible to remove this..? -
cAMo - 15.05.2010
You should do something like this, so it won't matter if they play/win money.
Код:
new playerMoney = GetPlayerMoney(i);
if(playerMoney > GetPVarInt(i, "cash"))
{
ResetPlayerMoney(i);
GivePlayerMoney(i, GetPVarInt(i, "cash"));
}
if(playerMoney < GetPVarInt(i, "cash"))
{
SetPVarInt(i, "cash", playerMoney);
}
Good Luck!
Re: Is it possible to remove this..? -
Steven82 - 15.05.2010
They want them removed come on!
Almost every new person to SA-MP is about 11-12 and they can't read come on, they want it gone!
Re: Is it possible to remove this..? -
Joe Staff - 16.05.2010
Hmm, a clever way to do that is to recreate the interior, take all of the objects and copy them someplace, then have that be your new interior.