DestroyObject Problem
#6

pawn Код:
// on top of the game mode.
#define PRESSED(%0) \
    (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))



public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if (PRESSED(KEY_CROUCH)
    {
       DestroyObject(sirenturn1);
       DestroyObject(sirenturn2);
       DestroyObject(sirenturn3);
    }
    return 1;
}
Reply


Messages In This Thread
DestroyObject Problem - by zombieking - 02.06.2012, 18:22
Re: DestroyObject Problem - by Sandiel - 02.06.2012, 18:25
Re: DestroyObject Problem - by zombieking - 02.06.2012, 18:26
Re: DestroyObject Problem - by Sandiel - 02.06.2012, 18:35
Re: DestroyObject Problem - by MadeMan - 02.06.2012, 19:24
Re: DestroyObject Problem - by leonardo1434 - 02.06.2012, 20:30
Re: DestroyObject Problem - by zombieking - 03.06.2012, 06:36
Re: DestroyObject Problem - by newbienoob - 03.06.2012, 06:51
Re: DestroyObject Problem - by zombieking - 03.06.2012, 06:58
Re: DestroyObject Problem - by Azazelo - 03.06.2012, 07:18

Forum Jump:


Users browsing this thread: 2 Guest(s)