25.08.2018, 17:04
the gate opens,doesnt close.
PHP код:
if(PlayerInfo[playerid][pMember] == 5) { // porti
if(PlayerToPoint(10.0, playerid,1144.5514, 1367.7786, 10.4297)) {
MoveDynamicObject(gatebogati, 1123.5787, 1363.2389, 12.5108, 1.5);
SetTimer("gatebogaticlose", 5000, false);
return 1;
}
}
PHP код:
function gatebogaticlose() return MoveObject(gatebogati, 1133.5387, 1363.2389, 12.5108, 1.5);