15.11.2018, 18:32
Hello friends, I have a question, how can I use FCNPC_GoTo in two different directions?, that is, when I finish arriving at point "A" go to point "B" (im using timers but dont like it)
PHP код:
public move()
{
FCNPC_GoTo(bot1,-2463.5054,140.4829,35.1719, 0, FCNPC_MOVE_TYPE_AUTO, true, 0.0, true, 0.0, 250);
SetTimer("move1", 25000, false);
}
public move1()
{
FCNPC_GoTo(bot1,-2463.6243,175.9550,35.1094, 0, FCNPC_MOVE_TYPE_AUTO, true, 0.0, true, 0.0, 250);
SetTimer("move", 25000, false);
}