Hello There, Guest! Login or Register


Buying a property that's owned by someone else
#1

The command /buy doesn't work properly when the property is owned by someone else. It pays the owner, but the property becomes not owned by anyone.

1. I was with Axmish in-game, he had some props, and I went to one of them and typed /buy. I get a message that I've bought it, but still I don't own it (my money doesn't decrease, while Axmish's money increases). I can type /buy many times without being able to own the prop.
- This is the screenshot taken by Axmish: http://peter.sa-mp.nl/files/uploads/sa-mp-007.png

2. Similarly, I was with Spaik in-game. he owned the gang-base (costs $200,000). I /buy it (but didn't own it), he got the money, then got banned for moneycheat ! _O- I didn't lose any money when I typed /buy.
- Here's the screenshot taken by me: http://peter.sa-mp.nl/files/uploads/sa-mp-000.jpg
- notice the message: "SERVER: Unknown command." (unhandled case in OnPlayerCommandText()? )

Az
#2
Fixed both bugs.