31.01.2015, 17:35
I have a bug that looks like this: [ame]http://www.youtube.com/watch?v=l7ZvkTp_tQQ[/ame]
This is my code:
Speed of 0.05 still does the same. I have no idea what is wrong. BTW this public is in a timer.
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;
}