House system bug - 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 bug (
/showthread.php?tid=597551)
House system bug -
AnoTek - 01.01.2016
Hey guys recently i added more house on my server and when i buy the house he put me in the interior and when i type /exti to exit it put me on a random house that is also buyable.. how can i solved this?
P.S:This is not a mysql server.
Re: House system bug -
Lucky13 - 01.01.2016
Very easy. Make each house countable. For example, when you load the houses, add the Virtual World as the House ID. So when you /exit, it will teleport you to the right house.
Re: House system bug -
Godey - 02.01.2016
Lucky13 means,
[House 1]: SetPlayerVirtualWorld(playerid, 1);
[House 2]: SetPlayerVirtualWorld(playerid, 2);
[house 3]: SetPlayerVirtualWorld(playerid, 3);
If you're still confused, look up here
Re: House system bug -
AnoTek - 02.01.2016
Quote:
Originally Posted by Lucky13
Very easy. Make each house countable. For example, when you load the houses, add the Virtual World as the House ID. So when you /exit, it will teleport you to the right house.
|
Ok so that i have to put in property.cfg?
Re: House system bug -
AnoTek - 02.01.2016
Quote:
Originally Posted by Godey
Lucky13 means,
[House 1]: SetPlayerVirtualWorld(playerid, 1);
[House 2]: SetPlayerVirtualWorld(playerid, 2);
[house 3]: SetPlayerVirtualWorld(playerid, 3);
If you're still confused, look up here
|
Ok so that i have to put in property.cfg?
Re: House system bug -
Lucky13 - 02.01.2016
Quote:
Originally Posted by AnoTek
Ok so that i have to put in property.cfg?
|
Check PM.