House system bug
#1

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.
Reply
#2

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.
Reply
#3

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
Reply
#4

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?
Reply
#5

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?
Reply
#6

Quote:
Originally Posted by AnoTek
Посмотреть сообщение
Ok so that i have to put in property.cfg?
Check PM.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)