Food/Drinks - 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: Food/Drinks (
/showthread.php?tid=157347)
Food/Drinks -
GaGlets(R) - 06.07.2010
Is there already any callback/funtion for Food/Drinks automat, i want to disable them or put higher price values for them.. :-/
Re: Food/Drinks -
Betamaster - 06.07.2010
There isn't a default callback or function to detect this, but you could script something to detect when food/drink is purchased and / or put objects over vending machines to prevent players getting to them. There are several scripts on the forum for dealing with vending machines.
Re: Food/Drinks -
DJBluefader - 06.07.2010
No, it comes from gta. Sorry, but you can do it with the things that Betamaster already said. Good Luck!
Re: Food/Drinks -
GaGlets(R) - 06.07.2010
ok will try to make new key checker if player is near these automats .
Re: Food/Drinks -
DJBluefader - 06.07.2010
Okay, Good Luck again!
Re: Food/Drinks -
TheKingOfSamp - 06.07.2010
dude you can't delete something come from GTA SAN ANDREAS
But you can add
Re: Food/Drinks -
GaGlets(R) - 08.07.2010
i am thinking that i can deny to use them..
and i know already how, just need coordinates of all thes automats. ^^
Soon will add tuturial