29.03.2011, 19:45
Hello how to make gate commands that opens with same command and closes same command or better way it opens only with 1 or 2 persons i add names to command and it checks names if right name is in range it opens.
I am using that
if (strcmp("/oropen", cmdtext, true, 10) == 0)
{
MoveObject(hungate,3706.03491211,-1136.00903320,5.89200020,2);
return 1;
}
if (strcmp("/orclose", cmdtext, true, 10) == 0)
{
MoveObject(hungate,3706.03491211,-1136.00903320,5.89200020,2);
return 1;
}
I am using that
if (strcmp("/oropen", cmdtext, true, 10) == 0)
{
MoveObject(hungate,3706.03491211,-1136.00903320,5.89200020,2);
return 1;
}
if (strcmp("/orclose", cmdtext, true, 10) == 0)
{
MoveObject(hungate,3706.03491211,-1136.00903320,5.89200020,2);
return 1;
}

