Doesn't clean objects
#4

you have to go like

pawn Код:
new obect1;
new obect2;
new obect3;
new obect4;
new obect5;
new obect6;
pawn Код:
if(strcmp(cmd, "/com", true) == 0)
{
obect1 = CreateObject(18690, 280.996704, 1876.698120, 14.849337, 90.2407954, -2.57831008, 1.71887339);
obect2 = CreateObject(18690, -2794.0922851563, -12.043877601624, 9.0996828079224, 0, 0, 270.67565917969);
obect3 = CreateObject(18690, -2793.998046875, -13.272877693176, 9.0931529998779, 0, 0, 270.67565917969);
obect4 = CreateObject(18690, -2793.4816894531, -15.914033889771, 6.9843993186951, 0, 0, 272.66064453125);
obect5 = CreateObject(18690, -2794.2727050781, -17.160186767578, 9.304069519043, 0, 0, 270.67565917969);
obect6 = CreateObject(18690, -2792.0141601563, -17.860973358154, 6.7548785209656, 0, 0, 270.67565917969);
return 1;
}
pawn Код:
if(strcmp(cmd, "/deletecom", true) == 0)
{
DestroyObject(obect1);
DestroyObject(obect2);
DestroyObject(obect3);
DestroyObject(obect4);
DestroyObject(obect5);
DestroyObject(obect6);
return 1;
}
Reply


Messages In This Thread
Doesn't clean objects - by Roma555 - 22.01.2011, 00:05
Re: Doesn't clean objects - by _Tommy - 22.01.2011, 00:08
Re: Doesn't clean objects - by Roma555 - 22.01.2011, 00:26
Re: Doesn't clean objects - by marinov - 22.01.2011, 00:26
Re: Doesn't clean objects - by _Tommy - 22.01.2011, 00:31
Re: Doesn't clean objects - by [L3th4l] - 22.01.2011, 00:32
Re: Doesn't clean objects - by Roma555 - 22.01.2011, 00:57
Re: Doesn't clean objects - by _Tommy - 22.01.2011, 01:00
Re: Doesn't clean objects - by Roma555 - 22.01.2011, 01:11
Re: Doesn't clean objects - by Roma555 - 22.01.2011, 01:26

Forum Jump:


Users browsing this thread: 1 Guest(s)