Interior problem
#1

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

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

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

Maybe you typed the wrong interior ID?
Reply
#5

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.)
Reply
#6

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

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

did you fixed it Frosty?
Reply
#9

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)