Quote:
Originally Posted by ProjectMan
I have a bug that looks like this: http://www.youtube.com/watch?v=l7ZvkTp_tQQ
This is my code:
pawn Код:
public Zones_Update() { for(new i=0; i<MAX_PLAYERS; i++) { if (IsPlayerConnected(i)) {
if( IsPlayerInRangeOfPoint(i,7.0,1544.699951, -1630.829956, 13.040000) && PlayerInfo[i][pTeam] == TEAM_COPS) { MoveDynamicObject(LSPDGate,1544.699951, -1630.829956, 13.040000,0.05, 0.0,0.0,90.0); } else { MoveDynamicObject(LSPDGate,1544.699951, -1630.829956, 13.040000,0.05, 0.0,90.0,90.0); } } } return 1; }
Speed of 0.05 still does the same. I have no idea what is wrong. BTW this public is in a timer.
|
Did you try a little higher speed? Like 1 or 2?