15.12.2012, 22:07
Alright, for some reason my weakness in scripting seems to be MovingDynamicObject's. In the first bit of code included the gate will open, however it will not close for some reason:
Any help will be greatly appreciated, thanks.
~Nmader
pawn Код:
if(FrancePrisonGateStatus == 0)
{
MoveDynamicObject(FrancePrisonGate, 193.93, 113.22, 4.20, 2.0, 0.00, 0.00, 114.90);
FrancePrisonGateStatus = 1;
}
else
{
MoveDynamicObject(FrancePrisonGate, 191.8999939,117.5999985,4.1999998, 2.0, 0.0000000,0.0000000,114.8979187);
FrancePrisonGateStatus = 0;
}
~Nmader