SA-MP Forums Archive
[help] soda machines - 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: [help] soda machines (/showthread.php?tid=66599)



[help] soda machines - ғαιιοцт - 23.02.2009

how can i disable the soda machines?
I've seen it on some servers, that when you press enter, you hear a 'buy rejected' sound, and nothing happens


Re: [help] soda machines - woot - 23.02.2009

afaik, its not possible - they have added objects inside/infront the machines to avoid usage


Re: [help] soda machines - ғαιιοцт - 23.02.2009

Quote:
Originally Posted by //exora
afaik, its not possible - they have added objects inside/infront the machines to avoid usage
there were no other objects.. i was in front of the soda machine and pressed enter -> sound plays and i get no soda -> i cried
the only possibility could be that they copied the interior (just objects) and used playertopoint at the soda stuff
but that's also impossible because there was a yellow enter/exit marker witch can't be added by the server


Re: [help] soda machines - MenaceX^ - 23.02.2009

Hmhm, Maybe get the player if he stands near a soda machine, Then when he clicks ENTER he gets ClearAnimations(playerid);
and a text or something.


Re: [help] soda machines - ғαιιοцт - 23.02.2009

Quote:
Originally Posted by MenaceX^
Hmhm, Maybe get the player if he stands near a soda machine, Then when he clicks ENTER he gets ClearAnimations(playerid);
and a text or something.
thats possible, but the 'detect enter' to give soda is client side, and the 'detect enter' is server side
so i tried to press it many times shortly after each other, to see if I'd finally get a soda drink ><
i didn't get one

maybe it checks when you loose 100$?


Re: [help] soda machines - MenaceX^ - 23.02.2009

You never lose 100$.


Re: [help] soda machines - ғαιιοцт - 23.02.2009

I'm sorry, 1$