Unique interiors - 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: Unique interiors (
/showthread.php?tid=577523)
Unique interiors -
McBan - 12.06.2015
Hi,
I'm a little stuck on how I can change the interior of a player each time he enters a different house with the same interior.
For example:
I create a house with interior ID 1. I then create another house with the same interior but the items I spawned in the first house also show up in the other house I created. I guess you have to store the house interiors in a INI file or something and assign a unique id?
Thank you in advance.
Re: Unique interiors -
bogushas - 12.06.2015
Im using mapped houses interiors, so I do it with the unique house id- SetPlayerVirtualWorld(playerid, uniquehouseid);