Gate disappearing
#1

Hello. I've lately started to get this problem when I close my gate with a command it just disappears. It turns invisible.

This is how my code looks like..

On top of script:
pawn Код:
new testgate;
In OnGameModeInit:
pawn Код:
testgate = CreateObject(971, 2488.9069824219, -1667.0736083984, 15.963682174683, 0, 0, 0);
In OnPlayerCommandText:
pawn Код:
if(strcmp(cmdtext,"/testopen", true) == 0)
        {
            if(PlayerToPoint(30.0, playerid,2488.9069824219, -1667.0736083984, 15.963682174683))
            {
            MoveObject(testgate, 2497.9738769531, -1667.1553955078, 15.963682174683, 1.500000);
            return 1;
        }
        }
       
    if(strcmp(cmdtext,"/testclose", true) == 0)
        {
            if(PlayerToPoint(30.0, playerid,2488.9069824219, -1667.0736083984, 15.963682174683))
            {
            MoveObject(testgate, 2488.9069824219, -1667.0736083984, 15.963682174683, 1.500000);
            return 1;
        }
        }
Note that this problem never occured until some days ago. If you know what the problem might be, don't hesitate to reply! Thanks.
Reply


Messages In This Thread
Gate disappearing - by Galcio - 10.06.2010, 15:33
Re: Gate disappearing - by Assyria - 10.06.2010, 15:34
Re: Gate disappearing - by Galcio - 10.06.2010, 15:35
Re: Gate disappearing - by Jakku - 10.06.2010, 17:32
Re: Gate disappearing - by Galcio - 10.06.2010, 17:38
Re: Gate disappearing - by Jakku - 10.06.2010, 17:42
Re: Gate disappearing - by Galcio - 10.06.2010, 17:48
Re: Gate disappearing - by Jakku - 10.06.2010, 17:56
Re: Gate disappearing - by Galcio - 10.06.2010, 18:01
Re: Gate disappearing - by Jakku - 10.06.2010, 18:02

Forum Jump:


Users browsing this thread: 3 Guest(s)