15.05.2010, 18:39
Is it possible to disable singleplayer gambling in casinos:

is it possible?

is it possible?

public OnFilterScriptInit()
{
DisableInteriorEnterExits();
return 1;
}
|
Originally Posted by WeA
I did that but still I can use them
![]() |
I also want to remove them :<
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);
}