21.04.2012, 15:03
Hey reader,
I scripted this parkinglot thing for my server, and now the gates aren't opening/closing as they should. They do actually open but you do not see them move, it's just. One second after you typed the command they are opened, six seconds later they are closed again.
This is the entrance gate creation:
This is the exit gate creation:
This is the entrance gate opening:
This is the exit gate opening:
This is the entrance gate closing:
This is the exit gate closing:
I hope someone can tell me what is wrong with it,
Best regards,
Jesse
I scripted this parkinglot thing for my server, and now the gates aren't opening/closing as they should. They do actually open but you do not see them move, it's just. One second after you typed the command they are opened, six seconds later they are closed again.
This is the entrance gate creation:
pawn Код:
CreateDynamicObject(968, 1222.78, -1354.62, 13.13, 0.00, 90.00, 90.00);
pawn Код:
CreateDynamicObject(968, 1216.04, -1339.99, 13.18, 0.00, 270.00, 90.00);
pawn Код:
MoveDynamicObject(ParkingLotGate[0], 1222.78, -1354.62, 13.13, 3.0, 0.00, 0.00, 90.00);
pawn Код:
MoveDynamicObject(ParkingLotGate[1], 1216.04, -1339.99, 13.18, 3.0, 0.00, 0.00, 90.00);
pawn Код:
MoveDynamicObject(ParkingLotGate[0], 1222.78, -1354.62, 13.13, 3.0, 0.00, 90.00, 90.00);
pawn Код:
MoveDynamicObject(ParkingLotGate[1], 1216.04, -1339.99, 13.18, 3.0, 0.00, 270.00, 90.00);
Best regards,
Jesse