Interior is failing
#1

Hello, boys and girls! I was making fast /enter /exit and all works fine(impossible, huh? ) but, there is one big BUT - on /enter I putted that it doesn't only teleports to interior but also sets interior id. Compiled, everything looked good, but IG I discovered that only one of my interiors is shown. Others are only black or blue area, without any objects. I can hear sounds from that interior, but I don't see a shit. Like this:



I still can /exit from there, the only problem is the blue sky and no objects. I took coords from MTA wiki.

This is the script:

PHP код:
CMD:enter(playeridparams[])// With + I mean place which interior works and - where it doesn't work.
{
if(
IsPlayerInRangeOfPoint(playerid3.01553.5376,-1675.4498,16.1953))//LSPD -
SetPlayerInterior(playerid6);
SetPlayerPos(playerid246.7840,64.3196,1003.6406);
if(
IsPlayerInRangeOfPoint(playerid3.01778.0828,-1664.6692,14.4355))//FBI -
SetPlayerPos(playerid238.8796,139.4095,1004.2648);
SetPlayerInterior(playerid3);
if(
IsPlayerInRangeOfPoint(playerid3.01037.9946,-1339.8110,13.7266))//Donuts Shop -
SetPlayerPos(playerid377.1972, -192.5130,1002.5086);
SetPlayerInterior(playerid17);
if(
IsPlayerInRangeOfPoint(playerid3.01569.7756,-1334.0330,16.4844))//Parachute -
SetPlayerPos(playerid1546.6072,-1366.2124,326.2109);
SetPlayerInterior(playerid0);
if(
IsPlayerInRangeOfPoint(playerid3.02244.7349,-1664.2806,15.4766))//Binco -
SetPlayerPos(playerid207.7380,-109.0200,1005.1328);
SetPlayerInterior(playerid15);
if(
IsPlayerInRangeOfPoint(playerid3.01458.7700,-1140.0200,24.0692))//ZIP -
SetPlayerPos(playerid161.3910,-95.2856,1001.8047);
SetPlayerInterior(playerid18);
if(
IsPlayerInRangeOfPoint(playerid3.02167.1455,-1672.5360,15.0757))//Drugs -
SetPlayerPos(playerid318.7942,1116.4202,1083.8828);
SetPlayerInterior(playerid5);
if(
IsPlayerInRangeOfPoint(playerid3.01365.1991,-1278.7695,13.5469))//Amunation +
SetPlayerPos(playerid286.1490,-40.6444,1001.5156);
SetPlayerInterior(playerid1);

Reply


Messages In This Thread
Interior is failing - by Frosty_LV - 21.07.2012, 08:15
Re: Interior is failing - by Rudy_ - 21.07.2012, 08:17
Re: Interior is failing - by Frosty_LV - 21.07.2012, 08:17
Re: Interior is failing - by Rudy_ - 21.07.2012, 08:22
Re: Interior is failing - by Frosty_LV - 21.07.2012, 08:27
Re: Interior is failing - by tyler12 - 21.07.2012, 08:29
Re: Interior is failing - by Andi_Evandy - 21.07.2012, 08:34
Re: Interior is failing - by Lorenzo9Oz - 21.07.2012, 16:00
Re: Interior is failing - by Frosty_LV - 25.07.2012, 10:01

Forum Jump:


Users browsing this thread: 1 Guest(s)