08.02.2010, 19:57
How to move object when player is in point ?
forward MoveObj();
SetTimer("MoveObj",TIME_HERE,true);
public MoveObj()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(PlayerToPoint(radi, i, POS:X, POS:Y, POS:Z))
{
MoveObject(objectID, X,Y,Z,Speed);
}
return 1;
}
}