03.04.2010, 20:18
I added what you've written at the bottom of the script but
pwn(97 : error 017: undefined symbol "obj1"
pwn(984) : error 017: undefined symbol "obj2"
pwn(985) : error 017: undefined symbol "obj2"
pwn(991) : error 017: undefined symbol "obj3"
pwn(992) : error 017: undefined symbol "obj3"
pwn(97 : error 017: undefined symbol "obj1"
pwn(984) : error 017: undefined symbol "obj2"
pwn(985) : error 017: undefined symbol "obj2"
pwn(991) : error 017: undefined symbol "obj3"
pwn(992) : error 017: undefined symbol "obj3"
pawn Код:
forward Move(objectid);
public Move(objectid)
{
MoveObject(obj1, Float:X, Float:Y, Float:Z, 2.5000);
SetTimer("MoveNext", (MoveObject(obj1, Float:X, Float:Y, Float:Z, 2.5000)), false);//Calculates how long it will take for obj1 to move
}
forward MoveNext(objectid);
public MoveNext(objectid)
{
MoveObject(obj2, Float:X, Float:Y, Float:Z, 2.5000);
SetTimer("MoveNext2", (MoveObject(obj2, Float:X, Float:Y, Float:Z, 2.5000)), false);
}
forward MoveNext2(objectid);
public MoveNext2(objectid)
{
MoveObject(obj3, Float:X, Float:Y, Float:Z, 2.5000);
SetTimer("MoveNext2", (MoveObject(obj3, Float:X, Float:Y, Float:Z, 2.5000)), false);
}