Thread: CS_OnBuyAttempt
View Single Post
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 02-13-2016 , 12:56   Re: CS_OnBuyAttempt
Reply With Quote #3

Can you try to rephraze your issue? I really don't get.

Remember this:

- CS_OnBuyAttempt: called when player issue a command (basically that would be the same as using ClientCommand). So, it's called before anything else, before any game checks to see if you can actually buy the item and such.

- CS_OnBuy: called when player is about to get the item. Game checks are done, and you can sure to receive what you bought. Money is not yet taken.


So, what are you trying to do, what is the actual issue with those two forwards?
__________________
Arkshine is offline