Posts: 236
Threads: 24
Joined: Aug 2006
Reputation:
0
i got like 300 houses with different interiors and different virtual worlds each.
so the problem is..
when i go to a house (/enter) then i (/exit) i'm teleported to other house ExitX,Y,Z location.. and not
to the house that i've entered Exit location..
i dont know how to fix this.. like a mentioned at the top of the post, i got different virtual worlds in each house..
do i need to add something more?..
thanks..
Posts: 531
Threads: 99
Joined: Sep 2010
Reputation:
0
I seen it mention before about virtualworlds being the same ids Damn if i can remember but i remember something about it spawn you where else when exit...
Are you Sure your X,Y,Z are different From the other house 300 Houses Hehe is it just 1 or all of em?
Posts: 531
Threads: 99
Joined: Sep 2010
Reputation:
0
if i had five interiors I put em in five different locations not the same location
Posts: 280
Threads: 47
Joined: Oct 2010
Reputation:
0
yeah yeha i know and i have 5 same interiors in deferent locations.. but idk how to solve that :/
Posts: 531
Threads: 99
Joined: Sep 2010
Reputation:
0
Well I aint got nothing better to do... PM your MSN if you have one ill help you with them 5 houses
Posts: 236
Threads: 24
Joined: Aug 2006
Reputation:
0
listen.. i have like bunch of files (HOUSEID.ini) in that .ini file i got all the house info..
when i said i have 300 houses i mean 300 .ini files and in each file i got a row (VirWorld=HOUSEID)
so...... if the house id is lets say.. 269 so the virtual world of the house will be the same.. (VirWorld=269)
basically the virtual world i think it's ok..
but the house interiors of all 300 houses are the same!
example:
house 26
VirWorld = 26
HouseInt = 10
house 128
VirWorld = 128
HouseInt = 10
As you can see the (HouseInt) is the same.. so when a player (/exit) they got to a different location..
maybe the problem is this..
Posts: 531
Threads: 99
Joined: Sep 2010
Reputation:
0
Well just make a damn Exit for the house to the front door on the out side of house
and make a exit command problem Solved ... if all houses are Set up to exit then Then do
Else IF(playeratpointrange something x y z
{
Setplayerpos(playerid, X, Y ,Z);
SetPlayerInterior(playerid) = 0;
SetPlayerVirtualWorld 0 get my drift
do ur next exit
Posts: 1,164
Threads: 20
Joined: Oct 2008
Reputation:
0
Store in a variable or something the ID of the house that the player entered, Then when exiting instead of checking all the houses, simply Use that stored ID