SA-MP Forums Archive
House Iconmap - 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: House Iconmap (/showthread.php?tid=170097)



House Iconmap - dawidek11 - 21.08.2010

Hi, I'm using this but it doesn't work correctly:

I've got:

http://pastebin.com/gcH4sywT


It creates mapicon and pickup as not bought even if the house was bought. I've checked all files and everything is correct in there - it change NOONE if not bought and gets player name who bought it if its bought.

It will change mapicon and pickup if I use a command for it like : /buy and /sell, because I've add there to remove old mapicon and pickup and to create new one.

So basically it doesn't check if a house was bought because it creates green mapicon and pickup, but it should create red one if house was bought.

What should I do?

Maybe something with dini? Like dini get or smth.


Re: House Iconmap - dawidek11 - 23.08.2010

Can someone help?


Re: House Iconmap - Mystique - 23.08.2010

What is playericonhouse? Why not just use houseid?


Re: House Iconmap - dawidek11 - 23.08.2010

Quote:
Originally Posted by Mystique
Посмотреть сообщение
What is playericonhouse? Why not just use houseid?
Thank you It works now!

//lock please ^^


Re: House Iconmap - Mystique - 23.08.2010

No problem.