SA-MP Forums Archive
Interior problem - 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: Interior problem (/showthread.php?tid=354417)



Interior problem - Frosty_LV - 26.06.2012

Hello again there! I was working on /enter /exit and all went fine, I compiled and runned and all was good, but testing IG I found a very wierd thing - after /enter I teleported to that interior, but I couldnt see anything, only blue sky. I could hear music or sounds which usually happen in that building, I could walk around, but I couldn't see anything. I even set the interior and virtual world in script but still nothing changed. This is the little part of script:

Код:
if (IsPlayerInRangeOfPoint(playerid, 3.0, 1037.9946,-1339.8110,13.7266)) //Donuts Shop
		SetPlayerPos(playerid, 377.1972, -192.5130,1002.5086);
	SetPlayerInterior(playerid, 17);
	SetPlayerVirtualWorld(playerid, 0);
Any ideas what went wrong?


Re: Interior problem - Grand_Micha - 26.06.2012

pawn Код:
SetPlayerPos(playerid,377,-191.21,1000.63);
Replace.


Re: Interior problem - Frosty_LV - 27.06.2012

Quote:
Originally Posted by Grand_Micha
Посмотреть сообщение
pawn Код:
SetPlayerPos(playerid,377,-191.21,1000.63);
Replace.
Nothing changed :P So any ideas?


Re: Interior problem - Makaveli93 - 27.06.2012

Maybe you typed the wrong interior ID?


Re: Interior problem - Frosty_LV - 27.06.2012

Nope, I checked everything 5 times, and all is good. Wierdest thing - few interiors work good, I can see everything, but there are few that show that blue sky and nothing else, only sounds from that interior(music etc.)


Re: Interior problem - Makaveli93 - 27.06.2012

Is there something that sets your interior to another one, like a timer or something?


Re: Interior problem - Frosty_LV - 27.06.2012

No, I have nothing in that script except pickups and /enter /exit.


Re: Interior problem - darwinali - 25.08.2012

did you fixed it Frosty?


Re: Interior problem - [MM]RoXoR[FS] - 25.08.2012

I am not sure but maybe this will fix it.
pawn Код:
if (IsPlayerInRangeOfPoint(playerid, 3.0, 1037.9946,-1339.8110,13.7266)) //Donuts Shop
{
        SetPlayerPos(playerid, 377.1972, -192.5130,1002.5086);
    SetPlayerInterior(playerid, 17);
    SetPlayerVirtualWorld(playerid, 0);
}//These braces