Properly catch buy
What is the best way to catch/hook the event when a player successfully bought a weapon?
I don't need to catch the event if he don't have enough money, etc. I know I could register many client commands of the buy commands, but I wonder if there's an easier way to get that info. It should be simple, but I just can't see it. :o Thanks in advance. :crab: |
Re: Properly catch buy
PHP Code:
|
Re: Properly catch buy
Quote:
|
Re: Properly catch buy
Here, a snippet from VEN :
Code:
I'm not sure if it's a proper way or not. |
Re: Properly catch buy
Thanks, I'll test it. (+k) :crab:
(Need to wait 24 hours before giving you karma...) |
Re: Properly catch buy
Oops
I should read more have 1 of my crabs :crab: |
Re: Properly catch buy
Whoa, what the fuck? I had no idea Pawn supported do while loops. O_O
|
Re: Properly catch buy
Quote:
But please don't start a off-topic chat here. EDIT: @arkshine: It works, thanks. |
Re: Properly catch buy
Syntax and features are two completely different things. D:
Anyways, that's cool to know. :D |
| All times are GMT -4. The time now is 01:40. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.