29.12.2011, 17:37
Dear users,
I'm encountering a problem and I've tried to fix it but it's just not helping. The problem is that I want the CreateDynamicObject to appear in one single interior and not in every interior. So I made this command in a dialog:
This is the VW: 55000+i
And this is for the interior: 10+i
But I don't know how but this object keeps appearing in ALL interiors?
I'm encountering a problem and I've tried to fix it but it's just not helping. The problem is that I want the CreateDynamicObject to appear in one single interior and not in every interior. So I made this command in a dialog:
Код:
switch(listitem) //Objects Place { case 0: { if(Player[playerid][BedFurn] == 1) { for(new i = 0; i < sizeof(Houses); i++) bedfurn = CreateDynamicObject(1800, -74.061431884766, 2264.4987792969, 92.093597412109, 0, 0, 0, 55000+i, 10+i, -1, 200.0); //Bed SendClientMessage(playerid, WHITE, "* You've placed a bed in your cell."); } else { SendClientMessage(playerid, GREY, "SERVER: You don't own a bed."); } } }
And this is for the interior: 10+i
But I don't know how but this object keeps appearing in ALL interiors?