27.09.2010, 14:28
No more warnings, fixed it, but it doesn't work, it only opens to one side, that's all.
Should I add something to the bottom :
Should I add something to the bottom :
PHP код:
if(IsPlayerInRangeOfPoint(playerid, 10, 1588.9812011719, -1638.0415039063, 14.952730178833)){
if(!gateopen) {
MoveObject(obj, 1588.9812011719, -1638.0415039063, 5.952730178833, 2.00); }
}
gateopen = 1;
} else {
Bottom :
MoveObject(obj, 1588.9812011719, -1638.0415039063, 14.952730178833, 2.00);
gateopen = 0;
}
return 1;
}