SA-MP Forums Archive
House System - 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)
+--- Thread: House System (/showthread.php?tid=523802)



House System - iShawn - 04.07.2014

Hi dudes,
today i found a problem. When i create any house, it refreshing with previous houses.
Ex:
I've created any house. It has ID 1.
I create a second house and it, instead of taking id 2, refresh with id 1.

P.s: Sorry for my bad english.


Re: House System - Abagail - 04.07.2014

Code maybe?


Re: House System - FaceTutorialz - 04.07.2014

That'll maybe go with Abagail's signature.


Re: House System - kirostar - 04.07.2014

Codes?


Re: House System - iShawn - 09.07.2014

(*) My commands are italian.
/creacasa (createhouse)
OnGameModeInit function
Enumerator
Thanks all!


Re: House System - TheKillZone - 10.07.2014

Well some scripts would have a /hnext command to then you use /creacasa (next house id number)
so if you create a house and it has id 1, try using /creacasa 2


Re: House System - iShawn - 10.07.2014

That's my private house system. The house id it's uncomfortable. Some other solution?


Re: House System - Kerlan - 10.07.2014

Quote:
Originally Posted by iShawn
Посмотреть сообщение
That's my private house system. The house id it's uncomfortable. Some other solution?
Uncomfortable ?


Re: House System - Abagail - 10.07.2014

What is Number[nHouses]? Maybe this has something to do with it?

This forum requires that you wait 120 seconds between posts. Please try again in 34 seconds.


Re: House System - iShawn - 10.07.2014

Quote:
Originally Posted by Kerlan
Посмотреть сообщение
Uncomfortable ?
Yep.
Quote:
Originally Posted by Abagail
Посмотреть сообщение
What is Number[nHouses]? Maybe this has something to do with it?
Counts the number oh houses.