[HELP] Destroying Dynamic Objects
#4

pawn Код:
new L[50]
forward destroyobj();

public OnGameModeInt()
{
    L[0] = CreateDynamicObject(10983,233.08203125,439.94628906,-1.92500007,0.00000000,0.00000000,0.00000000);
    L[1] = CreateDynamicObject(11541,163.09960938,518.28515625,16.41543579,0.00000000,0.00000000,0.00000000);
    //... REST HERE

    SetTimer("destroyobj", 120000, false);

}

public destroyobj()
{
    for(new i=0; i<50; i++)
    {
        DestroyDynamicObject(L[i]);
    }
    return 1;
}
What about that?

Do you have the "CreateDynamicObject"s under OnGameModeInt?
and How is the timer called?
Reply


Messages In This Thread
[HELP] Destroying Dynamic Objects - by serman - 21.10.2011, 03:08
Re: [HELP] Destroying Dynamic Objects - by [DK]Dark_Knight - 21.10.2011, 03:25
Re: [HELP] Destroying Dynamic Objects - by serman - 21.10.2011, 03:52
Re: [HELP] Destroying Dynamic Objects - by [DK]Dark_Knight - 21.10.2011, 03:57
Re: [HELP] Destroying Dynamic Objects - by serman - 21.10.2011, 04:03
Re: [HELP] Destroying Dynamic Objects - by [DK]Dark_Knight - 21.10.2011, 04:16
Re: [HELP] Destroying Dynamic Objects - by spd_sahil - 21.10.2011, 04:21
Re: [HELP] Destroying Dynamic Objects - by [DK]Dark_Knight - 21.10.2011, 04:22
Re: [HELP] Destroying Dynamic Objects - by spd_sahil - 21.10.2011, 04:27

Forum Jump:


Users browsing this thread: 1 Guest(s)