Never met before BUG ! Need your help to fix!
#1

Basically what I've tried to do is map an interior inside a building. However, if I enter inside the interior, the collision forces of that building would force me out, so I had to remove it everytime I /enter the building and add it back everytime I /exit the building. The problem is, once I /exit the building, it returns at it's original place, but it's TRANSPARENT. How do I fix this?

It's not because of my graphics card or anything, I have the best streamer available.
Here's the code:
Код:
COMMAND:enter(playerid, params[])
{
    if (IsPlayerInRangeOfPoint(playerid, 1.0, 172.66, -152.10, 1.72)) // checks if in range of the /enter point
    {
        RemoveBuildingForPlayer(playerid, 12923, 158.3594, -176.3047, 5.5703, 0.25);
        RemoveBuildingForPlayer(playerid, 13200, 158.3594, -176.3047, 5.5703, 0.25);
        SetPlayerPos(playerid, 170.75, -153.94, 1.81); // Sets their new position
    }
    return 1;
}
COMMAND:exit(playerid, params[])
{
    if(IsPlayerInRangeOfPoint(playerid, 1.0, 170.85, -153.85, 1.48)) // Checks if near the exit door
    {
        	SetPlayerPos(playerid, 172.24, -152.26, 1.81);
           	RemoveObjectVar2 = CreateObject(12923, 158.3594, -176.3047, 5.5703);
    }
    return 1;
}
And here's the problem:
Reply


Messages In This Thread
Never met before BUG ! Need your help to fix! - by Peter Alex - 22.07.2012, 21:28
Re: Never met before BUG ! Need your help to fix! - by seanny - 22.07.2012, 21:33
Re: Never met before BUG ! Need your help to fix! - by Peter Alex - 22.07.2012, 21:33

Forum Jump:


Users browsing this thread: 2 Guest(s)