Las Venturas Playground
Buying a property that's owned by someone else - Printable Version

+- Las Venturas Playground (https://forum.sa-mp.nl)
+-- Forum: Main Talk (https://forum.sa-mp.nl/forum-3.html)
+--- Forum: Development (https://forum.sa-mp.nl/forum-16.html)
+--- Thread: Buying a property that's owned by someone else (/thread-2522.html)



Buying a property that's owned by someone else - [Azamaaat] - 08-31-2007


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



Re: Buying a property that's owned by someone else - Peter - 08-31-2007

Fixed both bugs.