02.06.2012, 18:22
At First, Hello All! Here is my problem:
Here is my code:
So I've declared 3 NEWs...
I assigned them to objects...
No errors at compiling... But it does NOT destroy the objects.. Why?
Thanks in advance!
Here is my code:
pawn Код:
new sirenturn1;
new sirenturn2;
new sirenturn3;
pawn Код:
sirenturn1 = CreateObject( 19419,0,0,0,0,0,0,80 );
sirenturn2 = CreateObject( 19419,0,0,0,0,0,0,80 );
sirenturn3 = CreateObject( 19419,0,0,0,0,0,0,80 );
pawn Код:
if (newkeys & KEY_CROUCH)
{
DestroyObject(sirenturn1);
DestroyObject(sirenturn2);
DestroyObject(sirenturn3);
}
Thanks in advance!