Cage problem (createdynamicobject creating only 3 objects) -
Crystallize - 16.05.2017
Код:
CMD:protect(playerid,params[])
{
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
CreateDynamicObject(19870, x, y, z, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19870, x, y, z, 0.00000, 0.00000, 0.14000);
CreateDynamicObject(19870, x, y, z, 91.00000, 0.00000, 0.00000);
CreateDynamicObject(19870, x, y, z, 90.08000, 0.00000, 0.00000);
CreateDynamicObject(19870, x, y, z, 0.00000, 0.00000, 91.00000);
CreateDynamicObject(19870, x, y, z, 0.00000, 0.00000, 90.14000);
return 1;
}
It's creating only 3 of them like wtf..? whats wrong I just want to create a simple cage on command.
Re: Cage problem (createdynamicobject creating only 3 objects) - adri[4]Life - 16.05.2017
Код:
CreateDynamicObject(19870, x, y, z, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19870, x, y, z, 0.00000, 0.00000, 0.14000);
CreateDynamicObject(19870, x, y, z, 91.00000, 0.00000, 0.00000);
CreateDynamicObject(19870, x, y, z, 90.08000, 0.00000, 0.00000);
CreateDynamicObject(19870, x, y, z, 0.00000, 0.00000, 91.00000);
CreateDynamicObject(19870, x, y, z, 0.00000, 0.00000, 90.14000);
I Think 6 Objects are made but it looks like only 3 cause the others are almost in the same position
So you gonna see 1 while its 3/4 at the same position
Re: Cage problem (createdynamicobject creating only 3 objects) -
Tord - 16.05.2017
You need to place the objects on coordinates around your position. Right now you're just creating a flower of objects at the same positions, but with different angles.