18.08.2009, 12:11
sure can ------
//------------------------------------------------------------------------------
if(strcmp(cmdtext,"/secret", true) == 0) //CLOSEGATE
{
{
if(PlayerToPoint(15.0, playerid,-2468.3889,1547.0945,23.8359))
{
MoveObject(cozgate, -2468.352051, 1547.224243, 21.280209, 2.0);
return 1;
}
if(strcmp(cmdtext,"/secret1", true) == 0) //OPENGATE
{
{
if(PlayerToPoint(15.0, playerid,-2468.3889,1547.0945,23.8359))
{
MoveObject(cozgate, -2468.371338, 1547.240723, 24.030167, 2.0);
return 1;
}
}
}
//------------------------------------------------------------------------------
if(strcmp(cmdtext,"/secret", true) == 0) //CLOSEGATE
{
{
if(PlayerToPoint(15.0, playerid,-2468.3889,1547.0945,23.8359))
{
MoveObject(cozgate, -2468.352051, 1547.224243, 21.280209, 2.0);
return 1;
}
if(strcmp(cmdtext,"/secret1", true) == 0) //OPENGATE
{
{
if(PlayerToPoint(15.0, playerid,-2468.3889,1547.0945,23.8359))
{
MoveObject(cozgate, -2468.371338, 1547.240723, 24.030167, 2.0);
return 1;
}
}
}