21.08.2009, 05:06
if (strcmp("/gateopen", cmdtext, true, 0) == 0)
{
MoveObject(obj,2107.968506,1982.012695,13.005812,2 .00);//cordinates open gate
return 1;
}
if (strcmp("/gateclose", cmdtext, true, 0) == 0)
{
MoveObject(obj,2107.968506,1970.185425,13.005812,2 .00);//cordinates close gate
return 1;
}
Try that... I know it will work, you forgot return 1;
at the end
{
MoveObject(obj,2107.968506,1982.012695,13.005812,2 .00);//cordinates open gate
return 1;
}
if (strcmp("/gateclose", cmdtext, true, 0) == 0)
{
MoveObject(obj,2107.968506,1970.185425,13.005812,2 .00);//cordinates close gate
return 1;
}
Try that... I know it will work, you forgot return 1;
at the end