Gate newkeys problem and other
#8

I forgot about that streamer function Vince mentioned so no need of variables to check if the objects are moving.

pawn Код:
if (!IsDynamicObjectMoving(POLICEGATE[0]))
{
    if (!DOORMODE) // DOORMODE is false
    {
        ...
    }
    else // DOORMODE is true
    {
        ...
    }
}
By the way you move POLICEGATE[0] in all four cases, the last two wouldn't be the other object stored in POLICEGATE[1]?
Reply


Messages In This Thread
Gate newkeys problem and other - by Spookis - 02.07.2016, 09:07
Re: Gate newkeys problem and other - by Spookis - 02.07.2016, 10:33
Re: Gate newkeys problem and other - by Mencent - 02.07.2016, 11:03
Re: Gate newkeys problem and other - by Spookis - 02.07.2016, 11:47
Re: Gate newkeys problem and other - by Konstantinos - 02.07.2016, 12:01
Re: Gate newkeys problem and other - by Vince - 02.07.2016, 12:06
Re: Gate newkeys problem and other - by Spookis - 02.07.2016, 12:23
Re: Gate newkeys problem and other - by Konstantinos - 02.07.2016, 12:32
Re: Gate newkeys problem and other - by Spookis - 02.07.2016, 13:32
Re: Gate newkeys problem and other - by Spookis - 02.07.2016, 16:48

Forum Jump:


Users browsing this thread: 1 Guest(s)