08.02.2010, 21:26
Basic exemple (For OPEN):
Script top:
OnFilterScriptInit/OnGameModeInit:
Elsewhere:
Script top:
pawn Код:
forward MoveObj();
pawn Код:
SetTimer("MoveObj",TIME_HERE,true);
pawn Код:
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;
}
}